# How can I create a table with fields from different index patterns?

**URL:** <https://discuss.elastic.co/t/how-can-i-create-a-table-with-fields-from-different-index-patterns/282424>\
**Category:** Kibana\
**Created:** [August 25, 2021, 1:20am UTC](https://discuss.elastic.co/t/how-can-i-create-a-table-with-fields-from-different-index-patterns/282424 "2021-08-25T01:20:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcos\_K\_Minkoves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcos_k_minkoves/32/77073_2.png) [@Marcos\_K\_Minkoves](https://discuss.elastic.co/u/Marcos_K_Minkoves)\
**Post date:** [August 25, 2021, 1:20am UTC](https://discuss.elastic.co/t/how-can-i-create-a-table-with-fields-from-different-index-patterns/282424/1 "2021-08-25T01:20:56Z")

</div>

Hi,  
I'm trying to create a table that contains data from fields that are allocated in different index patterns. Whenever I try to drag and drop a field that belongs to a different index, the table resets and only show the data from the field that belongs to this new index.  
Is there a simple way to do this?  
Thanks in advance!

---

<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:** [August 25, 2021, 1:33am UTC](https://discuss.elastic.co/t/how-can-i-create-a-table-with-fields-from-different-index-patterns/282424/2 "2021-08-25T01:33:18Z")

</div>

Welcome to our community! 😃

Do the indices have the same sort of data structures, or are they totally different?

---

<div class="post-metadata">

**Author:** ![Marcos\_K\_Minkoves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcos_k_minkoves/32/77073_2.png) [@Marcos\_K\_Minkoves](https://discuss.elastic.co/u/Marcos_K_Minkoves)\
**Post date:** [August 25, 2021, 3:28pm UTC](https://discuss.elastic.co/t/how-can-i-create-a-table-with-fields-from-different-index-patterns/282424/3 "2021-08-25T15:28:21Z")

</div>

Hi, Warkolm!  
Thanks for the reply. The indices have the same structure. Do you know how I can solve this problem?  
Thanks in advance

---

<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:** [August 25, 2021, 9:36pm UTC](https://discuss.elastic.co/t/how-can-i-create-a-table-with-fields-from-different-index-patterns/282424/4 "2021-08-25T21:36:13Z")

</div>

You can try adding an alias across both indices and then use that as your index pattern.

---

<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:** [September 22, 2021, 9:37pm UTC](https://discuss.elastic.co/t/how-can-i-create-a-table-with-fields-from-different-index-patterns/282424/5 "2021-09-22T21:37:04Z")

</div>

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