fluent-plugin-add, a plugin for Fluentd
gem install fluent-plugin-add
<match test.**>
@type add
add_tag_prefix debug
uuid true # optional
<pair>
hoge moge
hogehoge mogemoge
</pair>
</match>
test.aa: {"json":"dayo"}
debug.test.aa: {"json":"dayo", "hoge":"moge","hogehoge":"mogemoge","uuid":"427037E7-235B-4F6C-9975-15AAC75E56C5"}
<filter test.**>
@type add
uuid true # optional
<pair>
hoge moge
hogehoge mogemoge
</pair>
</filter>
test.aa: {"json":"dayo"}
debug.test.aa: {"json":"dayo", "hoge":"moge","hogehoge":"mogemoge","uuid":"427037E7-235B-4F6C-9975-15AAC75E56C5"}
- 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
Copyright (c) 2013 yu-yamada