-
Notifications
You must be signed in to change notification settings - Fork 130
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
Parser plugin multiline doesn't work as it appears in docs #338
Comments
I guess that Here is the sample.
OUTPUT:
or it seems that there is a straightforward way copying from |
Thank you for your answer. |
I do not understand well, but https://github.com/fluent-plugins-nursery/fluent-plugin-concat may help you. |
Hello together, What i want to do:
My configuration is as follows:
I match the following log formats with this regex:
after the up to seven pieces it is possible to have a additional four digits if no characters are present Can anyone help or advise why fluentd cant parse this log output as multiline and give the error message? |
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.
The text was updated successfully, but these errors were encountered: