-
Notifications
You must be signed in to change notification settings - Fork 16
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
Set pattern-specific tag #2
Comments
+1 for this. |
Sorry, I missed this issue. |
This is impossible for now because parser plugin can't touch input plugin behaviour. Hmm... one possible similar way is adding tag to records for rewrite-tag-filter. |
is there any update on this? We have multiple docker containers running having different pattern, is there a way we can filter the events based on pattern and tag them? @repeatedly |
Same use case here, we use fluentd in a docker setup. We have up to 3 different formats coming from the same container: apache access, apache error and monolog. We'd like to identify them and tag them separately. The final goal is to export to Elastic Search with a different _type field |
Is it possible to set a pattern-specific tag? I'd like to tag based on which pattern matched the message. The examples in the README show the tag being set at the top level, so maybe this can't be done, but it sure would be useful for what I'm trying to do.
The text was updated successfully, but these errors were encountered: