Simple Fluentd Plugin to count number of messages and outputs to log
<match foo.bar.**>
type flowcounter_simple
unit second
</source>
This plugin does not emit, just writes into the log file as
out_flowcounter_simple: 30 / second
-
unit
Either of second/minute/hour/day. Default: minute
There is a fluent-plugin-flowcounter, but I needed a very very simple plugin to use for performance evaluation.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2013 Naotoshi Seo. See LICENSE.txt for details.