Sha256: dc06ef6012c62f05d30256aecbcad4b795e85d0bcea8ca35294f68733dd0a530

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

# 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

    <match foo.bar.**>
      type flowcounter_simple
      unit second
    </source>

This plugin does not emit, just writes into the log file as

    plugin:out_flowcounter_simple  count:30  indicator:num  unit:second

## Parameters

- unit

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

- indicator

    One of num/byte. Default: num

- comment

    Just a comment. You may use this to mark where you put flowcounter_simple.

## Relatives

There is a [fluent-plugin-flowcounter](https://github.com/tagomoris/fluent-plugin-flowcounter), 
but I needed a very very simple plugin to use for performance evaluation. 

## 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](../../pull/new/master)

## Copyright

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fluent-plugin-flowcounter-simple-0.0.3 README.md
fluent-plugin-flowcounter-simple-0.0.2 README.md