Skip to content

[Filebeat] Support multiline options in aws s3 input #25249

@andrewkroh

Description

@andrewkroh

Describe the enhancement:

When reading log files from S3 users should be able to specify the same multiline options that are available with the log input.

Describe a specific use case for the enhancement or feature:

Reading XML based Windows event logs from S3 that are newline delimited, but the XML itself contains strings with newlines. So in order to get one full XML object we need the multiline reader options.

Ideally config like this would work:

- type: aws-s3
  queue_url: https://sqs.us-east-1.amazonaws.com/foo/queue
  credential_profile_name: beats
  multiline.pattern: ^\<Event\>
  multiline.negate: true
  multiline.match: after

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions