Percentile aggregation for histogram buckets

We are moving our application metrics from prometheus to elastic stack.

As part of migration, from the histogram buckets, is there any way in elastic search or in kibana to calculate 50th, 95th, 99th percentile latency?

Prometheus supports this through function histogram_quantile
https://prometheus.io/docs/prometheus/latest/querying/functions/#histogram_quantile

Is there way to achieve similar result in elastic search or kibana?

If I'm understanding correctly, this is an option with the histogram or date histogram aggregation and https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-aggregation.html.

In Kibana the buckets would show on the x-axis or on one row of a table, with percentiles on the y axis or columns

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.