-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Can't see fields on Kibana after parsing log. #2175
Comments
Missing slash at the end of the expression parameter. Please follow the guideline. |
This change can raise Fluent::ConfigError when right slash is missing. This helps users to notice the weird behavior like fluent#2175. Signed-off-by: Kenji Okimoto <[email protected]>
@okkez Suppose my logs have multiple lines like this:
I need to write regex (in fluent.conf) to parse only the 2nd and 3rd lines and ignore all the other lines:
The logs print Thanks in advance. |
Use the combo with grep Filter Plugin and fluent-plugin-concat BTW, don't use fluentd repo for asking question. |
Hi,
I was trying to use regexp to parse my logs to extract some of the fields, and I cannot see them on Kibana. I'm using fluentd container to achieve this. But there's no indication from docker logs to know what's wrong.
Here's my fluentd.conf:
Here's my application log line (/newfluentd/logs/asd.log):
Here's my container logs:
Can you help in debugging this.
Thanks
The text was updated successfully, but these errors were encountered: