Kibana: Add bucket_selector aggregation to visualizations

Created on 4 Apr 2018  路  15Comments  路  Source: elastic/kibana

Kibana: 6.2.3:

Elastic Search: 6.2.1:

OS: Windows 10:

Browser: Chrome 65.0.3325.181:

I want to use bucket_selector in Kibana to filter the results of aggregation functions. However I cannot find it in the interface:

Steps to reproduce:

  1. In Kibana Dev tools, I use the following code to filter aggregations and it works using the dev tools:
    "sum_hours_bucket_filter": { "bucket_selector": { "buckets_path": { "totalHours": "sumH" }, "script": "params.totalHours > 1000" } }
  2. I don't know how to use this code in the visualization section

Describe the feature:
Like Having feature in SQL, I think it is important to have filtering in aggregations.

Visualizations KibanaApp enhancement

Most helpful comment

Is there a way around the lack of this feature for now?

All 15 comments

Is there a way around the lack of this feature for now?

Would very much like this function as well.

I use Kibana to monitor a lot of equipment an being able to show only SUM of value > xxx would make it a lot easier to single out equipment exceeding thresholds.

Would like to see this function available to graphs, tables etc.

I was really trying to bucket_selector for my Kibana Dashboard and learned it hard way that the feature is not available for visualization. Please implement this feature.

+1

+1

+1

Great idea

+1

+1

Need it in Kibana! 馃拑

Kibana 7.4.2 , still wating...

+1

+1

+1

Was this page helpful?
0 / 5 - 0 ratings