Add percentiles bucket pipeline aggregation #20087
Labels
enhancement
New value added to drive a business result
Feature:Aggregations
Aggregation infrastructure (AggConfig, esaggs, ...)
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature:
It would be great to be able to use the
percentiles_bucket
aggregation in a metrics visualisation.Describe a specific use case for the feature:
I store events in elasticsearch. Each event has a user and a timestamp.
I have a scripted field
event_delay
which calculates the time difference between now and the timestamp.I can find the min
event_delay
, let's call itdiary_delay
, for a single user easily. Using themin
aggregation.However I want to the percentiles of
diary_delay
aggregated over all users.In elasticsearch this would be done like so:
However without
percentiles_diary_delay
I can't replicate this in kibana. There may be an alternative that I am not aware of.Thanks!
The text was updated successfully, but these errors were encountered: