# Add filter in a dashboard proposes a wrong list of fields

**URL:** <https://discuss.elastic.co/t/add-filter-in-a-dashboard-proposes-a-wrong-list-of-fields/256327>\
**Category:** Kibana\
**Created:** [November 23, 2020, 9:22am UTC](https://discuss.elastic.co/t/add-filter-in-a-dashboard-proposes-a-wrong-list-of-fields/256327 "2020-11-23T09:22:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pchanas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pchanas/32/15311_2.png) [@pchanas](https://discuss.elastic.co/u/pchanas)\
**Post date:** [November 23, 2020, 9:22am UTC](https://discuss.elastic.co/t/add-filter-in-a-dashboard-proposes-a-wrong-list-of-fields/256327/1 "2020-11-23T09:22:28Z")

</div>

When I try to add manually a filter in a dashboard (using add filter on top of the page), the list of available fields belongs to the default index and not on indexes used in the visualisations of the DB... (no viz is pointing on the default index).

Does anyone has any idea?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![afharo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/afharo/32/75202_2.png) [@afharo](https://discuss.elastic.co/u/afharo)\
**Post date:** [November 23, 2020, 12:43pm UTC](https://discuss.elastic.co/t/add-filter-in-a-dashboard-proposes-a-wrong-list-of-fields/256327/2 "2020-11-23T12:43:19Z")

</div>

Hi @pchanas,

Can you provide more info about the issue you are facing (i.e.: what version are you using, the number of other indices used in your dashboard, the type of visualisations used: timelion, TSVB, Lens, Gauge, ...)?

I've just tried to create a dashboard on 7.10 with visualisations from 3 indices, and, when adding a filter, I am prompted to select which index to use:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/3/13f6129eb2204f9b5b38dbddab8fc76717a30aae.png)

If I have a dashboard with visualisations only from one index, the index selector is not shown and the list of fields is correctly shown based on that index:

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

---

<div class="post-metadata">

**Author:** ![pchanas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pchanas/32/15311_2.png) [@pchanas](https://discuss.elastic.co/u/pchanas)\
**Post date:** [November 23, 2020, 1:07pm UTC](https://discuss.elastic.co/t/add-filter-in-a-dashboard-proposes-a-wrong-list-of-fields/256327/3 "2020-11-23T13:07:36Z")

</div>

Hi  
Sorry, 7.6.2, no TSVB, no timelion, no Lens  
We have pies, Gauges, Metrics, Bar charts, Vega and vizs created with extra plugins (transform and HTML).  
Only 1 index is used in the dashboard.  
Pascal

---

<div class="post-metadata">

**Author:** ![pchanas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pchanas/32/15311_2.png) [@pchanas](https://discuss.elastic.co/u/pchanas)\
**Post date:** [November 23, 2020, 1:57pm UTC](https://discuss.elastic.co/t/add-filter-in-a-dashboard-proposes-a-wrong-list-of-fields/256327/4 "2020-11-23T13:57:43Z")

</div>

After investigation, if you refresh the page (F5), the problem is "solved".  
Closing Firefox, coming back to the DB, we have the pb, again after F5 it's ok ☹

---

<div class="post-metadata">

**Author:** ![afharo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/afharo/32/75202_2.png) [@afharo](https://discuss.elastic.co/u/afharo)\
**Post date:** [November 23, 2020, 2:12pm UTC](https://discuss.elastic.co/t/add-filter-in-a-dashboard-proposes-a-wrong-list-of-fields/256327/5 "2020-11-23T14:12:40Z")

</div>

Oh! So it's a caching issue?

---

<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 21, 2020, 2:12pm UTC](https://discuss.elastic.co/t/add-filter-in-a-dashboard-proposes-a-wrong-list-of-fields/256327/6 "2020-12-21T14:12:46Z")

</div>

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