fluent-plugin-retag, a plugin for Fluentd
Output plugin only retagging.
- simple retag
- remove tag prefix
- add tag prefix
To retag foo.bar to hoge.fuga:
<match foo.bar>
@type retag
tag hoge.fuga
</match>
To retag foo.bar.** to xyz.bar.**:
<match foo.bar>
@type retag
remove_prefix foo
add_prefix xyz
</match>
If you want to use branch condition, it is useful to use out_copy with fluent-plugin-retag.
<match foo.bar.**>
@type copy
<store>
@type retag
add_prefix copied
</store>
<store>
...
</store>
</match>
<match copied.foo.bar.**>
...
</match>
- Copyright (c) 2013- Masahiro Yamauchi
- License
- Apache License, Version 2.0