fluent-plugin-exclude-filter, a plugin for Fluentd
exclude some records.
gem install fluent-plugin-exclude-filter
<match test.**>
type exclude_filter
key hoge
value 100
regexp false # default false, string comparison
add_tag_prefix debug
</match>
test.aa: {"json":"dayo"}
test.aa: {"hoge":"100"}
debug.test.aa: {"json":"dayo"}
<match test.**>
type exclude_filter
file_path path/to/test.yml
regexp true # default false
add_tag_prefix debug
</match>
hoge: 100
moge:
- ^aaa
- bbb
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"}
debug.test.aa: {"json":"dayo"}
debug.test.aa: {"hoge":"200"}
debug.test.aa: {"moge":"ccc ddd"}
Copyright (c) 2014 yu-yamada