Fluentd out_copy extension to do tagging before passing to chained plugins
<match **>
type tagged_copy
<store>
<filter>
add_tag_prefix foo
remove_tag_prefix bar
</filter>
type stdout
</store>
<store>
<filter>
tag blah
</filter>
type stdout
</store>
</match>
Basically same with out_copy plugin. See http://docs.fluentd.org/articles/out_copy
But, you can specify filter
directive with following options
-
tag
The tag name
-
add_tag_prefix
Add tag prefix for output message
-
remove_tag_prefix
Remove tag prefix for output message
-
add_tag_suffix
Add tag suffix for output message
-
remove_tag_suffix
Remove tag suffix for output message
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
See CHANGELOG.md for details.
- Copyright (c) 2014- Naotoshi Seo
- See LICENSE for details.