Skip to content
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

Multiline handling #24

Open
jhmartin opened this issue Oct 11, 2017 · 5 comments
Open

Multiline handling #24

jhmartin opened this issue Oct 11, 2017 · 5 comments
Labels

Comments

@jhmartin
Copy link

This would be a neat way to handle multiline in a docker environment by wrapping apps that are not logstash-aware in this beat, handling multiline and sending the results on to Docker. Please consider integrating something equivalent to the multiline plugin.

@christiangalsterer
Copy link
Owner

I'm afraid that I didn't fully understand yet your request/question. Can you please provide some more examples, description?

@jhmartin
Copy link
Author

jhmartin commented Nov 2, 2017

Certainly. Some security policies promote running containers in read-only mode, and enforcing all logging be to STDOUT. Filebeat therefor doesn't have a file to read. Execbeat would let me wrap an application such that STDOUT of the application goes into execbeat to be sent on to Logstash. However, apps like Java love to print multiline messages that are one logical message (stack traces for example), so if Execbeat handled multiline-collapsing then it'd be very attractive for this use.

@christiangalsterer
Copy link
Owner

Thanks for the feedback. If I understood it correctly you would like to use exec beat to start a (java) app which logs to STDOUT and then send the STDOUT to the configured output including that a single event is formed over multiple lines. Is this correct?

@jhmartin
Copy link
Author

@christiangalsterer That is exactly it.

@jhmartin
Copy link
Author

jhmartin commented Jan 6, 2018

Any further thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants