# Will adding filters make visualizations more responsive?

**URL:** <https://discuss.elastic.co/t/will-adding-filters-make-visualizations-more-responsive/276067>\
**Category:** Kibana\
**Created:** [June 16, 2021, 1:17am UTC](https://discuss.elastic.co/t/will-adding-filters-make-visualizations-more-responsive/276067 "2021-06-16T01:17:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pk.241011](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pk.241011/32/86285_2.png) [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Post date:** [June 16, 2021, 1:17am UTC](https://discuss.elastic.co/t/will-adding-filters-make-visualizations-more-responsive/276067/1 "2021-06-16T01:17:41Z")

</div>

We have a visualization where we are using the term aggregation. Suppose there are 10000 records in the source index and out of that 1000 records have the field on which we will be doing term aggregration.

I am just wondering if we put in filters in the visualization top bar to filter away 9000 records will it make any difference in the responsiveness of the visualization? Or behind the scene that optimization will be done anyways and I need not bother.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 16, 2021, 1:18am UTC](https://discuss.elastic.co/t/will-adding-filters-make-visualizations-more-responsive/276067/2 "2021-06-16T01:18:54Z")

</div>

Yes it will help, because filtering in Elasticsearch is super efficient.

However for your 10000 records, I can't imagine it'd be hugely impactful.

---

<div class="post-metadata">

**Author:** ![pk.241011](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pk.241011/32/86285_2.png) [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Post date:** [June 16, 2021, 1:21am UTC](https://discuss.elastic.co/t/will-adding-filters-make-visualizations-more-responsive/276067/3 "2021-06-16T01:21:57Z")

</div>

Thanks for confirmation. The numbers were just to simplify. We are dealing with much larger number here. 🙂

---

<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:** [July 14, 2021, 1:22am UTC](https://discuss.elastic.co/t/will-adding-filters-make-visualizations-more-responsive/276067/4 "2021-07-14T01:22:31Z")

</div>

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