Skip to content

fluent-plugins-nursery/fluent-plugin-flowcounter-simple

Repository files navigation

fluent-plugin-flowcounter-simple Build Status

Simple Fluentd Plugin to count number of messages and outputs to log

Configuration

<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

Parameters

  • unit

    Either of second/minute/hour/day. Default: minute

ChangeLog

See CHANGELOG.md for details.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2013 Naotoshi Seo. See LICENSE.txt for details.