A Fluentd sample filter plugin to duplicate messages
Fluentd >= v0.12
Use RubyGems:
gem install fluent-plugin-filter_dup
<source>
forward
</source>
<filter **>
type dup
</filter>
<match **>
type stdout
</match>
You should be able to see duplicated messages, try as:
$ echo '{"a":"foo","b":"bar"}' | fluent-cat raw.test
None
See CHANGELOG.md for details.
- 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) 2014 Naotoshi Seo. See LICENSE for details.