I'm using Metricbeat to ship system metrics (CPU, Memory) to Logstash. Is it possible to configure the Logstash Metrics filter plugin to aggregate more than one metric at a time?
I want to get the min, max and mean for CPU and Memory metrics. Thanks.
For example,
"host1" => {
"cpu" => {
"p1" => 0.0,
"rate_1m" => 5.2151785020849415,
"rate_15m" => 11.351513626881186,
"max" => 0.01,
"p5" => 0.0,
"p90" => 0.0,
"count" => 60,
"rate_5m" => 10.157780698687366,
"p95" => 0.009499999999999958,
"p10" => 0.0,
"p99" => 0.01,
"p100" => 0.01,
"min" => 0.0,
"mean" => 0.0005,
"stddev" => 0.04688114521330327
},
"memory" => {
"p1" => 0.0,
"rate_1m" => 5.2151785020849415,
"rate_15m" => 11.351513626881186,
"max" => 0.01,
"p5" => 0.0,
"p90" => 0.0,
"count" => 60,
"rate_5m" => 10.157780698687366,
"p95" => 0.009499999999999958,
"p10" => 0.0,
"p99" => 0.01,
"p100" => 0.01,
"min" => 0.0,
"mean" => 0.0005,
"stddev" => 0.04688114521330327
}
}