Description
Parser plugin multiline doesn't work as it appears in docs or there is a misunderstanding.
I tried to use parser multiline in section as it appears in docs : https://docs.fluentd.org/parser/multiline
I need to collect several lines in one message.
Example of log:
[DockerLogGenerator] Multiline: 2021-07-01 12:29:42.862326529 +0000 UTC m=+107095.440406775
This is the second line
This is the third line
I expect that this log will be parsed as something like this:
record:
{
"message":"[DockerLogGenerator] Multiline: 2021-07-01 12:29:42.862326529 +0000 UTC m=+107095.440406775\n This is the second line\n This is the third line
}
But it doesn't appears.
Example of my config:
Would you make clear in docs, how to collect multiline logs correctly in this case, please?
Thanks.