Filter results based on aggregated field

Hi Team,

How do we filter results on a aggregated field.
For example: i have a built a visulation table which will show the average value of memory used over some interval. i want to add a condition on the table to show the data only if the average in more than 85%. Is this possible in kibana?

Looks like what you need is the Bucket selector aggregation: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-bucket-selector-aggregation.html

Not available in Kibana yet sadly :frowning: https://github.com/elastic/kibana/issues/11167

Thank you