Skip to content

Commit c5e6593

Browse files
authored
crowdstrike: prevent ingestion of duplicate event IDs (#5669)
1 parent 4bb210d commit c5e6593

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-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.11.2"
3+
changes:
4+
- description: Reduce duplicate document ingestion.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/5669
27
- version: "1.11.1"
38
changes:
49
- description: Multiple IPs in `aip` field and add new fields

packages/crowdstrike/data_stream/falcon/elasticsearch/ingest_pipeline/default.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,16 @@ processors:
394394
if: "ctx?.tags == null || !(ctx.tags.contains('preserve_original_event'))"
395395
ignore_failure: true
396396
ignore_missing: true
397+
- fingerprint:
398+
fields:
399+
- '@timestamp'
400+
- crowdstrike.event.SessionId
401+
- crowdstrike.event.DetectId
402+
- crowdstrike.metadata.eventType
403+
- crowdstrike.metadata.customerIDString
404+
target_field: _id
405+
ignore_missing: true
406+
397407
- script:
398408
lang: painless
399409
description: This script processor iterates over the whole document to remove fields with null values.

packages/crowdstrike/data_stream/fdr/elasticsearch/ingest_pipeline/default.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,15 @@ processors:
179179
type: integer
180180
if: (ctx.crowdstrike?.localipCount != null && ctx.crowdstrike?.localipCount != "")
181181

182+
- fingerprint:
183+
fields:
184+
- '@timestamp'
185+
- crowdstrike.id
186+
- crowdstrike.aid
187+
- crowdstrike.cid
188+
target_field: _id
189+
ignore_missing: true
190+
182191
## ECS fields.
183192
- set:
184193
field: ecs.version

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.11.1"
3+
version: "1.11.2"
44
description: Collect logs from Crowdstrike with Elastic Agent.
55
type: integration
66
format_version: 1.0.0

0 commit comments

Comments
 (0)