Skip to content

Commit f195c59

Browse files
committed
Expose FDR cache options for more flexibility
1 parent 7254a52 commit f195c59

File tree

5 files changed

+30
-1
lines changed

5 files changed

+30
-1
lines changed

packages/crowdstrike/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "1.29.0"
3+
changes:
4+
- description: Expose FDR cache options for more flexibility
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/9063
27
- version: "1.28.1"
38
changes:
49
- description: Changed owners

packages/crowdstrike/data_stream/fdr/agent/stream/aws-s3.yml.hbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ processors:
6969
then:
7070
- cache:
7171
backend:
72+
capacity: {{metadata_cache_capacity}}
7273
file:
7374
id: aidmaster
75+
write_period: {{metadata_cache_write_period}}
7476
put:
7577
ttl: {{metadata_ttl}}
7678
key_field: crowdstrike.aid
@@ -89,8 +91,10 @@ processors:
8991
then:
9092
- cache:
9193
backend:
94+
capacity: {{metadata_cache_capacity}}
9295
file:
9396
id: userinfo
97+
write_period: {{metadata_cache_write_period}}
9498
put:
9599
ttl: {{metadata_ttl}}
96100
key_field: crowdstrike.UserSid_readable

packages/crowdstrike/data_stream/fdr/agent/stream/stream.yml.hbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ processors:
3434
then:
3535
- cache:
3636
backend:
37+
capacity: {{metadata_cache_capacity}}
3738
file:
3839
id: aidmaster
40+
write_period: {{metadata_cache_write_period}}
3941
put:
4042
ttl: {{metadata_ttl}}
4143
key_field: crowdstrike.aid
@@ -54,8 +56,10 @@ processors:
5456
then:
5557
- cache:
5658
backend:
59+
capacity: {{metadata_cache_capacity}}
5760
file:
5861
id: userinfo
62+
write_period: {{metadata_cache_write_period}}
5963
put:
6064
ttl: {{metadata_ttl}}
6165
key_field: crowdstrike.UserSid_readable

packages/crowdstrike/data_stream/fdr/manifest.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,22 @@ streams:
6464
type: text
6565
multi: false
6666
default: 168h
67+
- name: metadata_cache_capacity
68+
required: true
69+
show_user: true
70+
title: Metadata cache capacity
71+
description: The maximum amount of metadata objects to cache. Operations that would cause the capacity to be exceeded will result in evictions of the oldest elements. The capacity should not be lower than the number of elements that are expected to be referenced when processing the input as evicted elements are lost. Values at or below zero indicate no limit.
72+
type: text
73+
multi: false
74+
default: 0
75+
- name: metadata_cache_write_period
76+
required: true
77+
show_user: true
78+
title: Metadata cache write period
79+
description: The interval between periodic cache writes to the backing file. Valid time units are h, m, s, ms, us/µs and ns. The contents are always written out to the backing file when the processor is closed. Default is zero, no periodic writes.
80+
type: text
81+
multi: false
82+
default: 0
6783
- name: preserve_original_event
6884
required: true
6985
show_user: true

packages/crowdstrike/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: crowdstrike
22
title: CrowdStrike
3-
version: "1.28.1"
3+
version: "1.29.0"
44
description: Collect logs from Crowdstrike with Elastic Agent.
55
type: integration
66
format_version: "3.0.0"

0 commit comments

Comments
 (0)