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
Multiple grok patterns with multiline not parsing the log #36
Comments
Use grok_parser in For example (grok patterns are same as your configuration),
And you may need |
Hi. I double checked and don't know why dashboard is not showing logs in json format. The correct file is in attachment from which is fluentd taking the logs. They are in json format. I apologize for inconvenience. |
In this case, you can use https://github.com/fluent-plugins-nursery/fluent-plugin-concat. For example:
This will generate following event for last ERROR log:
|
Thanks for help. There were some minor changes required, but now i have the logs parsed and it is working. So you can close this as closed. |
What kind of minor changes do you made ? Regards |
I have also encounter the problems, https://stackoverflow.com/questions/49915805/using-fluentd-to-parse-the-docker-json-file-log-which-is-in-the-var-lib-docker. The logs can not being parsed when I did according to the documentation and your Readme file. The origin log is:
my fluentd config:
I test a lot, but it can not work, Can you help me a little with solving this issue? Thanks ahead. |
You can use https://github.com/fluent-plugins-nursery/fluent-plugin-concat for Docker logging. |
@okkez Thanks for you help, your plugin is very good for parse docker logs in multiline. Thanks a lot. I wish my config will help some one, my fluent config:
|
Hi.
I am facing problem while using fluentd-0.14.23. The logs are not being parsed even when i went according to the documentation and your Readme file. Can you help me a little with solving this issue? It is running under Docker container created by Kubernetes DaemonSet.
I uploaded the zip file which contains an example of log i am trying to parse with my configuration
data.zip
Thanks ahead.
The text was updated successfully, but these errors were encountered: