No commit activity in last 3 years
No release in over 3 years
Output filter plugin to exclude records
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

fluent-plugin-exclude-filter, a plugin for Fluentd

Build Status

exclude some records.

Installation

gem install fluent-plugin-exclude-filter

Configuration

Simple exclude

<match test.**>
  type exclude_filter
  key hoge
  value 100
  regexp false # default false, string comparison
  add_tag_prefix debug
</match>  

Assuming following inputs are coming:

test.aa: {"json":"dayo"}
test.aa: {"hoge":"100"}

then output bocomes as belows

debug.test.aa: {"json":"dayo"} 

Use YmlFile exclude

<match test.**>
  type exclude_filter
  file_path path/to/test.yml 
  regexp true # default false
  add_tag_prefix debug
</match>  

test.yml as blows

hoge: 100
moge:
  - ^aaa
  - bbb

Assuming following inputs are coming:

test.aa: {"json":"dayo"}
test.aa: {"hoge":"100"}
test.aa: {"hoge":"200"}
test.aa: {"moge":"aaa bbb"}
test.aa: {"moge":"aaa ccc"}
test.aa: {"moge":"ccc ddd"}

then output becomes as belows

debug.test.aa: {"json":"dayo"} 
debug.test.aa: {"hoge":"200"}
debug.test.aa: {"moge":"ccc ddd"}

Copyright

Copyright (c) 2014 yu-yamada