Closed antonionappi88 closed 5 years ago
I didn't check in detail and I'm not sure it will work. but multiline_start_regexp /^[0-9]
(quoted from your config) is missing last /
.
and multiline_start_regexp
should be located under parser
section not grok
section.
see https://github.com/fluent/fluent-plugin-grok-parser/tree/2c9901c1a3dc473b28ee3c04cd4780f6b5aeede4#multiline-support
Hi @ganmacs ,
you're right, moving the multiline_start_regexp fixed it.
And also I was doing a mistake in the match field. I was missing a }
for the log_level.
Thanks! Antonio
Hello, This is more a question on how the plugin works than a bug.
I'm trying to parse some logs and send them to Elastic Search using fluentd but I have some issues with grok parsing.
I have two type of logs :
One line:
Multiple line:
Below my fluentd configuration:
I tested the grok pattern with grok debugger and it works. Instead in the logs of fluentd:
and also parse multiple line of logs in different ones.
Do you know what I'm doing wrong ? Thanks!
Cheers, Antonio