# How to translate this query to Kibana GUI

**URL:** <https://discuss.elastic.co/t/how-to-translate-this-query-to-kibana-gui/223124>\
**Category:** Kibana\
**Created:** [March 11, 2020, 12:05pm UTC](https://discuss.elastic.co/t/how-to-translate-this-query-to-kibana-gui/223124 "2020-03-11T12:05:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtebbens](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jtebbens](https://discuss.elastic.co/u/jtebbens)\
**Post date:** [March 11, 2020, 12:05pm UTC](https://discuss.elastic.co/t/how-to-translate-this-query-to-kibana-gui/223124/1 "2020-03-11T12:05:54Z")

</div>

Hi all,

I am struggling with a table view that _only_ shows interfaces that are utilized 70% or more.  
I received something like below as guidance but have no clue how to capture this in the Kibana GUI interface. I can't find the Bucket Filter, Selector , Path etc to enforce this.

curl -XPOST "\<\>/\_search" -H 'Content-Type: application/json' -d'  
{  
"size": 0,  
"query": {  
"bool": {  
"must": [  
{  
"match": {  
"element\_class": "MetricFamily.Interface"  
}  
},  
{  
"match": {  
"name": "Utilization"  
}  
}  
]  
}  
},  
"aggs": {  
"interfaces": {  
"terms": {  
"field": "ci\_name.keyword"  
},  
"aggs": {  
"average": {  
"avg": {  
"field": "value"  
}  
},  
"bucket\_filter": {  
"bucket\_selector": {  
"buckets\_path": {  
"averageUtilization": "average"  
},  
"script": "params.averageUtilization \>= 70"  
}  
}  
}  
}  
}  
}'

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [March 11, 2020, 4:55pm UTC](https://discuss.elastic.co/t/how-to-translate-this-query-to-kibana-gui/223124/2 "2020-03-11T16:55:15Z")

</div>

Unfortunately, I don't believe this is currently possible until we support bucket selectors in Kibana. See [https://github.com/elastic/kibana/issues/11167](https://github.com/elastic/kibana/issues/11167).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 8, 2020, 4:55pm UTC](https://discuss.elastic.co/t/how-to-translate-this-query-to-kibana-gui/223124/3 "2020-04-08T16:55:22Z")

</div>

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