# Kibana dashboards - global filter vs individual filters performance

**URL:** <https://discuss.elastic.co/t/kibana-dashboards-global-filter-vs-individual-filters-performance/319961>\
**Category:** Kibana\
**Created:** [November 28, 2022, 3:49pm UTC](https://discuss.elastic.co/t/kibana-dashboards-global-filter-vs-individual-filters-performance/319961 "2022-11-28T15:49:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ARDiver86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ardiver86/32/85266_2.png) [@ARDiver86](https://discuss.elastic.co/u/ARDiver86)\
**Post date:** [November 28, 2022, 3:49pm UTC](https://discuss.elastic.co/t/kibana-dashboards-global-filter-vs-individual-filters-performance/319961/1 "2022-11-28T15:49:50Z")

</div>

Right now I have three objects on a dashboard (one saved search, two data table lens) that are using the logs-system\* namespace. Each LENs is using this filter:

> event.dataset:"system.system"

Is there any performance increase if I were to apply this to the global filter for the dashboard instead of on each object? I have tried testing this and can't tell a difference but I think that is because Elastic is caching it when it is first queried. So technically it is hard for me to test this theory. I know it makes more sense in this case to apply it globally but I was just curious if it would make any difference.

On a side note:  
If the first object is a saved search and then other two are aggregations of the same data in the saved search, can Kibana/Elastic not use the data it queries from the saved search to build the data instead of querying the indices all over again?

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [November 28, 2022, 11:39pm UTC](https://discuss.elastic.co/t/kibana-dashboards-global-filter-vs-individual-filters-performance/319961/2 "2022-11-28T23:39:13Z")

</div>

@devon.thomson / @Hannah_Mudge any inputs please?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![devon.thomson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devon.thomson/32/85468_2.png) [@devon.thomson](https://discuss.elastic.co/u/devon.thomson)\
**Post date:** [November 29, 2022, 12:51am UTC](https://discuss.elastic.co/t/kibana-dashboards-global-filter-vs-individual-filters-performance/319961/3 "2022-11-29T00:51:34Z")

</div>

There should be no performance difference at all between one global filter, and having each chart individually filtered.

Currently, Kibana sends bulk requests for all charts on a dashboard. Elasticsearch has its own caching mechanisms that make this pretty efficient. That said, there is always room for improvement, and a caching layer like that has been discussed in the past.

---

<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:** [December 27, 2022, 12:51am UTC](https://discuss.elastic.co/t/kibana-dashboards-global-filter-vs-individual-filters-performance/319961/4 "2022-12-27T00:51:38Z")

</div>

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