README.md in fluent-plugin-add-0.0.3 vs README.md in fluent-plugin-add-0.0.4
- old
+ new
@@ -1,15 +1,17 @@
-# fluent-plugin-add
+# fluent-plugin-add, a plugin for [Fluentd](http://fluentd.org)
+[![Build Status](https://travis-ci.org/yu-yamada/fluent-plugin-add.svg?branch=master)](https://travis-ci.org/yu-yamada/fluent-plugin-add)
-
## Installation
gem install fluent-plugin-add
## Configration
+### AddOutput
+
<match test.**>
type add
add_tag_prefix debug
<pair>
hoge moge
@@ -21,9 +23,24 @@
### Assuming following inputs are coming:
test.aa: {"json":"dayo"}
### then output bocomes as belows
debug.test.aa: {"json":"dayo", "hoge":"moge","hogehoge":"mogemoge"}
+### AddFilter
+
+ <filter test.**>
+ type add
+ <pair>
+ hoge moge
+ hogehoge mogemoge
+ </pair>
+ </filter>
+
+
+### Assuming following inputs are coming:
+ test.aa: {"json":"dayo"}
+### then output bocomes as belows
+ debug.test.aa: {"json":"dayo", "hoge":"moge","hogehoge":"mogemoge"}
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)