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

Support multiline logs #309

Closed
zerkms opened this issue Nov 7, 2014 · 16 comments
Closed

Support multiline logs #309

zerkms opened this issue Nov 7, 2014 · 16 comments

Comments

@zerkms
Copy link

zerkms commented Nov 7, 2014

So guys, keeping in mind logstash multiline plugin is not thread safe (and from what I understand - is not going to be for a lot of reasons) - any chance the logstash forwarder gets some option to join multiple lines and send a combined single line to the logstash?

The set of multiline plugin rules to distinguish the multiple lines of the same entry seems enough for almost every case.

May be an option to specify a join separator would be useful additionally though.

What do you think?

@kiranos
Copy link

kiranos commented Nov 29, 2014

+1 think it would be better to use this logic as close to the source as possible

@hartfordfive
Copy link

+1, would definitely be useful when it comes to elasticsearch error stack traces.

@odyssey4me
Copy link

+1 this would be very useful to distribute the multiline processing out to the log shipper instead of having to do this on the logstash indexer

@driskell
Copy link
Contributor

If anyone is in dire need, this feature exists in Log Courier.
https://github.com/driskell/log-courier/blob/stable/docs/codecs/Multiline.md

@odyssey4me
Copy link

Thanks @driskell - also note that similar support appears to be available in the beaver log shipper: https://github.com/josegonzalez/python-beaver

@pandujar
Copy link

+1

5 similar comments
@klynch
Copy link

klynch commented Jun 1, 2015

+1

@tgagor
Copy link

tgagor commented Jun 2, 2015

+1

@debraj-manna
Copy link

+1

@Mrc0113
Copy link

Mrc0113 commented Jul 16, 2015

+1

@cknapp
Copy link

cknapp commented Jul 20, 2015

+1

@suyograo suyograo changed the title Multiline entries and logstash multiline thread-friendliness (I remember you didn't like thread-safe in particular :-) ) Support multiline logs Aug 10, 2015
@prashanthrajagopal
Copy link

+1

1 similar comment
@yancl
Copy link

yancl commented Aug 13, 2015

+1

@swood
Copy link

swood commented Sep 19, 2015

Hello.

Is it already done? I still have the same problem with logstash-forwarder.

@vmcano
Copy link

vmcano commented Oct 21, 2015

+1

@ruflin
Copy link
Member

ruflin commented Oct 21, 2015

This isn't implemented but is planned for Filebeat, the next version of logstash-forwarder. I'm closing this issue so all future comments and inputs can go directly into: https://github.com/elastic/filebeat/issues/89

@ruflin ruflin closed this as completed Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests