diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index acc01bb98301..a5b4d041990a 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -351,6 +351,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Fix Cisco ASA/FTD module's parsing of WebVPN log message 716002. {pull}22966[22966] - Fix aws s3 overview dashboard. {pull}23045[23045] - Fix bad `network.direction` values in Fortinet/firewall fileset. {pull}23072[23072] +- Add support for organization and custom prefix in AWS/CloudTrail fileset. {issue}23109[23109] {pull}23126[23126] *Heartbeat* @@ -968,4 +969,3 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - diff --git a/x-pack/filebeat/module/aws/cloudtrail/config/s3.yml b/x-pack/filebeat/module/aws/cloudtrail/config/s3.yml index 5be465cc7c03..ecc73ba53650 100644 --- a/x-pack/filebeat/module/aws/cloudtrail/config/s3.yml +++ b/x-pack/filebeat/module/aws/cloudtrail/config/s3.yml @@ -2,16 +2,16 @@ type: s3 queue_url: {{ .queue_url }} file_selectors: {{ if .process_cloudtrail_logs }} - - regex: '^AWSLogs/\d+/CloudTrail/' + - regex: 'AWSLogs/\d+/CloudTrail/' expand_event_list_from_field: 'Records' {{ end }} {{ if .process_digest_logs }} - - regex: '^AWSLogs/\d+/CloudTrail-Digest/' + - regex: 'AWSLogs/\d+/CloudTrail-Digest/' {{ end }} {{ if .process_insight_logs }} - - regex: '^AWSLogs/\d+/CloudTrail-Insight/' + - regex: 'AWSLogs/\d+/CloudTrail-Insight/' expand_event_list_from_field: 'Records' {{ end }}