README.md in fluent-plugin-flowcounter-simple-0.0.3 vs README.md in fluent-plugin-flowcounter-simple-0.0.4
- old
+ new
@@ -1,16 +1,31 @@
# fluent-plugin-flowcounter-simple [![Build Status](https://secure.travis-ci.org/sonots/fluent-plugin-flowcounter-simple.png?branch=master)](http://travis-ci.org/sonots/fluent-plugin-flowcounter-simple)
Simple Fluentd Plugin to count number of messages and outputs to log
-## Configuration
+## Output Plugin Configuration
<match foo.bar.**>
type flowcounter_simple
unit second
- </source>
+ </match>
-This plugin does not emit, just writes into the log file as
+This plugin does not emit, just writes counts into the log file as
+
+ plugin:out_flowcounter_simple count:30 indicator:num unit:second
+
+## Filter Plugin Configuration
+
+Fluentd >= v0.12
+
+```apache
+<filter foo.bar.**>
+ type flowcounter_simple
+ unit second
+</filter>
+```
+
+This filter plugin pass through records, and writes counts into the log file as
plugin:out_flowcounter_simple count:30 indicator:num unit:second
## Parameters