Sha256: b019d323dc50fa9397dec9c8cb95089593091dd9d5cfc10b2463c60f1afa1afe
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 KB
Contents
# fluent-plugin-aggregate , a plugin for [Fluentd](http://fluentd.org) A fluentd plugin to aggregate events by fields over time. ## Installation Add this line to your application's Gemfile: gem 'fluent-plugin-aggregate' And then execute: $ bundle Or install it yourself as: $ gem install fluent-plugin-aggregate --no-document ## Requirements - Ruby 2.1 or later - fluentd v0.12 or later - aggregate v0.0.1 or later ## Usage ### Filter plugin (@type 'aggregate') Aggregate events grouping by fields over time. ``` <filter> @type aggregate intervals 5s keep_interval 1s group_fields field_group1,field_group2 aggregate_fields numeric_field1, numeric_field2 aggregations mean,median </filter> ``` ### Common parameters ### intervals Intervals for the aggregatios, this plugin support multi interval aggregatios ``` intervals 5s,10s,20s ``` ### keep_interval Additional time to wait fof arrive events (used when events has a delay in the origin) ``` keep_interval 5s ``` ### group_fields Fields to group events (like group by in SQL) ``` group_fields tx,region ``` ### aggregate_fields Fields to apply aggregation funtions (like mean, median, sum, etc), this plugin support multiple aggregations fields. ``` aggregate_fields response_time,pressure ``` ### aggregations Aggregate funtions to apply, this plugin support multiple aggregations fields. ``` aggregations sum,min,max,mean,median,variance,standard_deviation ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-aggregate-1.0.1 | README.md |
fluent-plugin-aggregate-1.0 | README.md |