README.rdoc in fluent-plugin-datacounter-0.1.1 vs README.rdoc in fluent-plugin-datacounter-0.2.0
- old
+ new
@@ -49,10 +49,11 @@
HTTP status code patterns.
<match accesslog.**>
type datacounter
- unit minute
+ count_interval 1m # just same as 'unit minute' and 'count_interval 60s'
+ # you can also specify '30s', '5m', '2h' ....
count_key status
# patternX: X(1-9)
pattern1 2xx ^2\d\d$
pattern2 3xx ^3\d\d$
pattern3 404 ^404$ # we want only 404 counts...