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

logstash multiline filter: last part of message flush #1938

Closed
tudit opened this issue Oct 22, 2014 · 8 comments
Closed

logstash multiline filter: last part of message flush #1938

tudit opened this issue Oct 22, 2014 · 8 comments

Comments

@tudit
Copy link

tudit commented Oct 22, 2014

There was a know issue in the multiline filter that it doesn't print the last part of the input being filtered as it is still waiting for a pattern to follow and it isn't flushed out.
Has the issue been resolved. If so how?Is there a tag to flush out the last part?

@tudit
Copy link
Author

tudit commented Oct 24, 2014

It works by setting enable_flush to true in the multiline filter.

@tudit tudit closed this as completed Oct 24, 2014
@jordansissel
Copy link
Contributor

This is fixed in master and scheduled for the 1.5.0 release.

@jordansissel
Copy link
Contributor

enable_flush is going away and was intented only for testing the plugin, not for production. This setting will be removed in the next release.

@tudit
Copy link
Author

tudit commented Oct 24, 2014

OK.Thanks for the update.

@rajacm2020
Copy link

While using enable_flush it works fine. But when using the grok match filter after the flush of events, the tag values gets duplicated. Is there any fix for it ?

@corey-cole
Copy link

I'm trying out 1.5.0RC2, but I'm not seeing any change when the terminal event is a multiline event.

I've distilled the example into a gist.

Edit: Nevermind. I realized that moving from the multiline codec to the multiline filter was required.

@harveysun
Copy link

Dear Logstash Team,
I downloaded the logstash-1.5.0.tar.gz and test multiline filter found the issue still exist.
The last part of message couldn't flush out.
Could you please show an example in the logstash-1.5.0? thanks in advance

@wanghq
Copy link

wanghq commented Jul 2, 2015

@harveysun, as others mentioned, you can use the multiline filter (not multiline codec):
https://www.elastic.co/guide/en/logstash/current/plugins-filters-multiline.html.

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

No branches or pull requests

6 participants