diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 1ceabcb9c57e..f3296843b7cd 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -38,6 +38,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - With the default configuration the cloud modules (aws, azure, googlecloud, o365, okta) - With the default configuration the cef and panw modules will no longer send the `host` - Add `while_pattern` type to multiline reader. {pull}19662[19662] +- auditd dataset: Use process.args to store program arguments instead of auditd.log.aNNN fields. {pull}29601[29601] *Heartbeat* - Only add monitor.status to browser events when summary. {pull}29460[29460] diff --git a/filebeat/module/auditd/log/ingest/pipeline.yml b/filebeat/module/auditd/log/ingest/pipeline.yml index b5c6d56412a2..b169fb4dd581 100644 --- a/filebeat/module/auditd/log/ingest/pipeline.yml +++ b/filebeat/module/auditd/log/ingest/pipeline.yml @@ -2102,6 +2102,29 @@ processors: ignore_failure: true field: auditd.log.msg target_field: message +- script: + lang: painless + description: Extracts process information from execve calls + if: 'ctx.process?.args_count != null && ctx.auditd?.log != null' + source: >- + long argc = ctx.process.args_count; + List args = new ArrayList(); + def[] fmt = new def[] {0}; + for (long i=0; i