fluent-plugin-reemit
Fluentd plugin to re-emit messages avoiding infinity match loop
Installation
Use RubyGems:
gem install fluent-plugin-reemit
Configuration
Example:
This example applies flowcounter plugin for all messages, then re-emit messages. But, the re-emitted messages will skip the identical match directive (the first one) to avoid an infinity loop.
<match flowcount>
type stdout
</match>
<match **>
type copy
<store>
type flowcounter
count_keys *
</store>
<store>
type reemit
</store>
</match>
<match **>
type stdout
</match>
Option Parameters
None
ChangeLog
See CHANGELOG.md for details.
Contributing
- 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
Copyright (c) 2013 Naotoshi Seo. See LICENSE for details.