-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Filebeat] Support multiline options in aws s3 input #25249
Comments
Yes, we are still improving this on the filestream input. The filestream input is supposed to supersede the current logs input, as it takes on many issues of the logs input (integrations will need to be updated), especially in conjunction with k8s autodiscovery. The parsing in the logs input was not as 'clean', so we still have to jump through some hoops to make it work properly in a generic fashion. Unfortunately we can't use these parsers via processors, for differrent reasons (e.g. processors can't be stateful), but we're thinking to move the syslog parsing from the syslog input into a parser as well, and provide the parser settings to multiple inputs. This will allow users to mix different levels of multiline, json, syslog at will. You have multiline logs embedded in syslog, embedded in a json log file... no problem :P |
That's great to hear. For this case, this input is not based on a file so we would need to update the code to use these parsers. Does that make sense? |
I have updated this issue with the current state: #16137 |
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
- only applies to non JSON logstash Closes elastic#25249
* Add multiline support to awss3 input - only applies to non JSON logs Closes #25249 Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
Need to re-work to make use of |
Just noting this is something we're looking for too |
This feature has been implemented for 7.14.0. There's a refactoring PR open that could change the config format.
|
- switches multiline configuration to parsers - JSON parsing is independent Closes elastic#25249
Describe the enhancement:
When reading log files from S3 users should be able to specify the same
multiline
options that are available with thelog
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:
The text was updated successfully, but these errors were encountered: