No commit activity in last 3 years
No release in over 3 years
Fluentd plugin to filter if a specific key is present or not in event logs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 2, >= 0.14.0
 Project Readme

fluent-plugin-filter_keys

Build Status

Overview

Fluentd plugin to filter if a specific key is present or not in event logs.

Installation

$ gem install fluent-plugin-filter_keys

Configuration

<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>

ensure_keys

Keys to be existed in a event log. If it doesn't match, the event log will be discarded.

denied_keys

Keys to be not existed in a event log. If it matches, the event log will be discarded.

add_tag_and_reemit

Default false. if this configure parameter is true and doesn't match keys, add tag 'discarded' and reemit.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request