Sha256: 7b3fda5d7f1e1202ce747fde6d715b51e9b639ade7fe5e71f6f1c5fe780495d3

Contents?: true

Size: 784 Bytes

Versions: 1

Compression:

Stored size: 784 Bytes

Contents

# fluent-plugin-groupcounter

## Component

### GroupCounterOutput

Fluentd plugin to count like COUNT(\*) GROUP BY

## Configuration

## GroupCounterOutput

    <source>
      type tail
      path /var/log/httpd-access.log
      tag apache.access
      format apache
    </source>

    <match apache.access>
      type groupcounter
      count_interval 5s
      aggregate tag
      output_per_tag true
      tag_prefix groupcounter
      group_by_keys code,method,path
    </match>

Output like below

    groupcounter.apache.access: {"200_GET_/index.html_count":1,"200_GET_/index.html_rate":0.2,"200_GET_/index.html_percentage":100.0}

## TODO

* tests
* documents

## Copyright

* Copyright
  * Copyright (c) 2012- Ryosuke IWANAGA (riywo)
* License
  * Apache License, Version 2.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-groupcounter-0.1.0 README.md