prelert / kibana-swimlane-vis

Kibana swimlane visualization
Apache License 2.0
140 stars 41 forks source link

Percentile Aggregation missing #3

Open aksbhatia opened 8 years ago

aksbhatia commented 8 years ago

a common use case is tracking duration of apis. And 'average' is a bad indicator of the same. A 95th percentile aggregation would be good to have.

peteharverson commented 8 years ago

Currently the swimlane visualization only supports single value metric aggregations (count, avg, sum, min, max). Multi-value metric aggregations (including percentiles, percentile_ranks, and median) are not currently supported.

To add multi-value metric aggregations to the list of metric aggregation available for plotting in the visualization would require a significant change to the way the aggregations returned from Elasticsearch are processed in the processAggregations() function in prelert_swimlane_vis_controller.js, utilizing the list of Kibana AggConfig objects returned by the 'parent' Kibana MetricAggType getResponseAggs() function.