This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
beats { | |
port => 5044 | |
} | |
} | |
filter { | |
if [crowdstrike][metadata][eventType] != "DetectionSummaryEvent" { | |
drop { } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filebeat.inputs: | |
- type: log | |
paths: | |
- /var/log/crowdstrike/falconhoseclient/output | |
multiline.pattern: '^{' | |
multiline.negate: true | |
multiline.match: after |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filebeat.inputs: | |
- type: log | |
paths: | |
- /var/log/crowdstrike/falconhoseclient/output | |
multiline.pattern: '^{' | |
multiline.negate: true | |
multiline.match: after |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT _ingest/pipeline/crowdstrike_falcon | |
{ | |
"processors": | |
[ | |
{ | |
"set": { | |
"field": "event.action", | |
"value": "{{crowdstrike.event.PatternDispositionDescription}}", | |
"if": "ctx.crowdstrike?.event?.PatternDispositionDescription != null" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"date": { | |
"field": "crowdstrike.metadata.eventCreationTime", | |
"target_field": "@timestamp", | |
"formats": ["UNIX_MS"], | |
"timezone": "UTC" | |
} | |
}, | |
{ | |
"set": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output { | |
if [@metadata][pipeline] { | |
elasticsearch { | |
hosts => ["http://localhost:9200"] | |
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}" | |
user => "elastic" | |
password => "changeme" | |
pipeline => "%{[@metadata][pipeline]}" | |
} | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- type: log | |
enabled: true | |
paths: | |
- /var/log/crowdstrike/falconhoseclient/output | |
multiline.pattern: '^{' | |
multiline.negate: true | |
multiline.match: after | |
multiline.max_lines: 5000 | |
multiline.timeout: 10 |