Fluentd plugin to filter if a specific key is present or not in event logs.
$ gem install fluent-plugin-filter_keys
<match test.**>
type filter_keys
add_tag_prefix filter_keys.
ensure_keys foo, bar
</match>
<match test.**>
type filter_keys
add_tag_prefix filter_keys.
denied_keys foo, bar
</match>
Keys to be existed in a event log. If it doesn't match, the event log will be discarded.
Keys to be not existed in a event log. If it matches, the event log will be discarded.
Default false. if this configure parameter is true and doesn't match keys, add tag 'discarded' and reemit.
- 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