# Discover on dashboard changes Add filter source of filter

**URL:** <https://discuss.elastic.co/t/discover-on-dashboard-changes-add-filter-source-of-filter/295380>\
**Category:** Kibana\
**Created:** [January 25, 2022, 6:00pm UTC](https://discuss.elastic.co/t/discover-on-dashboard-changes-add-filter-source-of-filter/295380 "2022-01-25T18:00:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Ubry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_ubry/32/98104_2.png) [@Michael\_Ubry](https://discuss.elastic.co/u/Michael_Ubry)\
**Post date:** [January 25, 2022, 6:00pm UTC](https://discuss.elastic.co/t/discover-on-dashboard-changes-add-filter-source-of-filter/295380/1 "2022-01-25T18:00:22Z")

</div>

Hi,

I have dashboard which has multiple visualizations from one index "index1". Add filter offers fields from this index. When I add discover list from "index2" to dashboard, it suddenly changes the options in Add filter to fields which are only from "index2".

Why is this happening? Where can I choose which index is used for Add filter? I dont have any dropdown option to choose index from.

Thank you

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [January 25, 2022, 6:59pm UTC](https://discuss.elastic.co/t/discover-on-dashboard-changes-add-filter-source-of-filter/295380/2 "2022-01-25T18:59:28Z")

</div>

> [@Michael\_Ubry](#):
>
> Where can I choose which index is used for Add filter

Hi, which version of Kibana are you using? In 7.16, there is an option to select the index pattern the filter will use:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c8d8d442763191d1ceccd5acb568b76361be1971.png)

Could you provide a screenshot of what you see when you click "Add filter"?

---

<div class="post-metadata">

**Author:** ![Michael\_Ubry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_ubry/32/98104_2.png) [@Michael\_Ubry](https://discuss.elastic.co/u/Michael_Ubry)\
**Post date:** [January 26, 2022, 1:53pm UTC](https://discuss.elastic.co/t/discover-on-dashboard-changes-add-filter-source-of-filter/295380/3 "2022-01-26T13:53:47Z")

</div>

Hi @tsullivan I use 7.10. It gives me two options but both are related to discover lists and not to other visualizations which use different index. Please take a look on this screenshot. My data are confidential so I at least tried to rebuild my dashboard in Paint to have better imagination of my problem . You can see there is missing Index 1 eventhough its used for controls and vega charts.

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

And when I had only one discover list, it didnt even give me option to choose index in Add filter. Now it gives those two related to discovers.

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [January 26, 2022, 5:50pm UTC](https://discuss.elastic.co/t/discover-on-dashboard-changes-add-filter-source-of-filter/295380/4 "2022-01-26T17:50:44Z")

</div>

Thanks Michael, I see what you mean. The index connected to the Vega chart is not available as an option.

Do you have an Index Pattern saved object defined for Index 1? If not, that may solve it.

If that doesn't work, a possible workaround may be to add an additional a simple visualization, such as a Metric, based on Index 1 in this dashboard.

---

<div class="post-metadata">

**Author:** ![Michael\_Ubry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_ubry/32/98104_2.png) [@Michael\_Ubry](https://discuss.elastic.co/u/Michael_Ubry)\
**Post date:** [January 26, 2022, 7:44pm UTC](https://discuss.elastic.co/t/discover-on-dashboard-changes-add-filter-source-of-filter/295380/5 "2022-01-26T19:44:08Z")

</div>

Index pattern for index 1 is defined. Putting Metric visualization on the dashboard helped. Now I have three option to choose from, however, this is not intented by our client to have an additional visualization on the dashboard, so basically its not possible to satisfy client´s requirements.

Thanks anyway

---

<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:** [February 23, 2022, 7:44pm UTC](https://discuss.elastic.co/t/discover-on-dashboard-changes-add-filter-source-of-filter/295380/6 "2022-02-23T19:44:23Z")

</div>

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