# Kibana TSVB to filter out aggregated result

**URL:** <https://discuss.elastic.co/t/kibana-tsvb-to-filter-out-aggregated-result/313859>\
**Category:** Kibana\
**Created:** [September 7, 2022, 8:01am UTC](https://discuss.elastic.co/t/kibana-tsvb-to-filter-out-aggregated-result/313859 "2022-09-07T08:01:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![inhinyera16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inhinyera16/32/61625_2.png) [@inhinyera16](https://discuss.elastic.co/u/inhinyera16)\
**Post date:** [September 7, 2022, 8:01am UTC](https://discuss.elastic.co/t/kibana-tsvb-to-filter-out-aggregated-result/313859/1 "2022-09-07T08:01:43Z")

</div>

Anyone knows how to filter tsvb aggregated result?

In my example below, I used 3 aggregations then grouped by Cluster, to capture the remaining memory %

- avg (MemoryUsageGB)
- avg(MemoryTotalGB)
- bucket script to get the percentage

My plan is to remove the group by cluster bcoz im trying to count only the esxi's where their remaining memory % is from 0%-5% then 5%-20%.. but.. how to do that in tsvb?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/3/63a4fffa27fc5c7593ed9b4b7c1c7570a8a89377.png)

---

<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:** [October 5, 2022, 8:02am UTC](https://discuss.elastic.co/t/kibana-tsvb-to-filter-out-aggregated-result/313859/2 "2022-10-05T08:02:22Z")

</div>

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