= fluent-plugin-filter
== Component
=== FilterOutput
Filtering messages by simple allow/deny rules.
== Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-filter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-filter
== Configuration
=== FilterOutput
Filter out messages contains {status : 404} :
type filter
all allow
deny status: 404
type stdout
in above configuration, {status: 404} is filtered out and {status: 200}, {status: 303}, {status: 401} passed.
Messages passing filter are add_prefix (default filtered.)
So you catch "filtered" tag and do next process.
== Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request