# How to use multiple inddexes in a dashboard

**URL:** <https://discuss.elastic.co/t/how-to-use-multiple-inddexes-in-a-dashboard/288706>\
**Category:** Kibana\
**Created:** [November 9, 2021, 4:35am UTC](https://discuss.elastic.co/t/how-to-use-multiple-inddexes-in-a-dashboard/288706 "2021-11-09T04:35:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandatibco](https://avatars.discourse-cdn.com/v4/letter/n/ed8c4c/32.png) [@nandatibco](https://discuss.elastic.co/u/nandatibco)\
**Post date:** [November 9, 2021, 4:35am UTC](https://discuss.elastic.co/t/how-to-use-multiple-inddexes-in-a-dashboard/288706/1 "2021-11-09T04:35:09Z")

</div>

How to configure 2 or more indexes with similar structure in a kibana dashboard?  
Tried with Index pattern, if the index names are not having similar naming patterns how to create an index pattern with different index names.

---

<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:** [November 9, 2021, 5:15am UTC](https://discuss.elastic.co/t/how-to-use-multiple-inddexes-in-a-dashboard/288706/2 "2021-11-09T05:15:45Z")

</div>

Welcome to our community! 😃

Try using an alias - [Create or update alias API | Elasticsearch Guide [7.15] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/indices-add-alias.html)

---

<div class="post-metadata">

**Author:** ![nandatibco](https://avatars.discourse-cdn.com/v4/letter/n/ed8c4c/32.png) [@nandatibco](https://discuss.elastic.co/u/nandatibco)\
**Post date:** [November 12, 2021, 4:20am UTC](https://discuss.elastic.co/t/how-to-use-multiple-inddexes-in-a-dashboard/288706/3 "2021-11-12T04:20:57Z")

</div>

Hi Mark,  
Is it mandatory to have similar structure in indexes to gererate a dashboard with multiple indexes?  
**Or** is there a way to fetch few fields from multiple indexes and generate a dashboard? Kindly suggest. Thanks.

---

<div class="post-metadata">

**Author:** ![Felix\_Roessel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felix_roessel/32/41623_2.png) [@Felix\_Roessel](https://discuss.elastic.co/u/Felix_Roessel)\
**Post date:** [November 14, 2021, 9:45am UTC](https://discuss.elastic.co/t/how-to-use-multiple-inddexes-in-a-dashboard/288706/4 "2021-11-14T09:45:20Z")

</div>

You can use as many different indices with different structures.  
But If you filter for a specific field the dashboard will only show results for the indices that have the field.  
For some visualizations you can also configure to ignore the global filter like TSVB.

---

<div class="post-metadata">

**Author:** ![nandatibco](https://avatars.discourse-cdn.com/v4/letter/n/ed8c4c/32.png) [@nandatibco](https://discuss.elastic.co/u/nandatibco)\
**Post date:** [November 23, 2021, 2:25pm UTC](https://discuss.elastic.co/t/how-to-use-multiple-inddexes-in-a-dashboard/288706/5 "2021-11-23T14:25:18Z")

</div>

Thanks for response Roessel !!!

---

<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, 2021, 2:25pm UTC](https://discuss.elastic.co/t/how-to-use-multiple-inddexes-in-a-dashboard/288706/6 "2021-12-21T14:25:29Z")

</div>

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