Skip to content

Commit

Permalink
[filebeat] fix crowdstrike ingest pipeline (#27623)
Browse files Browse the repository at this point in the history
* fix: fix crowdstrike ingest pipeline

fix process fields that were being created as flattened fields

* docs: add line to changelog.next

added line about the pr in the changelog.next file

* docs: add links in changelog

corrected the links to the issue and pr in changelog

* Update CHANGELOG.next.asciidoc

Fixed capitalization.

(cherry picked from commit 825bfb2)
  • Loading branch information
leandrojmp authored and mergify-bot committed Sep 3, 2021
1 parent 88d0809 commit 083a427
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add support for GMT timezone offsets in `decode_cef`. {pull}20993[20993]
- Remove all alias fields pointing to ECS fields from modules. This affects the Suricata and Traefik modules. {issue}10535[10535] {pull}26627[26627]
- Add option for S3 input to work without SQS notification {issue}18205[18205] {pull}27332[27332]
- Fix Crowdstrike ingest pipeline that was creating flattened `process` fields. {issue}27622[27622] {pull}27623[27623]

*Heartbeat*
- Remove long deprecated `watch_poll` functionality. {pull}27166[27166]
Expand Down
7 changes: 4 additions & 3 deletions x-pack/filebeat/module/crowdstrike/falcon/ingest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,10 @@ processors:
def args = Arrays.asList(/ /.split(commandLine));
args.removeIf(arg -> arg == "");
ctx["process.command_line"] = commandLine;
ctx["process.args"] = args;
ctx["process.executable"] = args.get(0);
ctx['process'] = new HashMap();
ctx.process.command_line = commandLine;
ctx.process.args = args;
ctx.process.executable = args.get(0);
}
}
- pipeline:
Expand Down

0 comments on commit 083a427

Please sign in to comment.