# Merge 2 index?

**URL:** <https://discuss.elastic.co/t/merge-2-index/226631>\
**Category:** Kibana\
**Created:** [April 6, 2020, 7:00am UTC](https://discuss.elastic.co/t/merge-2-index/226631 "2020-04-06T07:00:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesyone](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jamesyone](https://discuss.elastic.co/u/jamesyone)\
**Post date:** [April 6, 2020, 7:00am UTC](https://discuss.elastic.co/t/merge-2-index/226631/1 "2020-04-06T07:00:24Z")

</div>

Hi,  
Im trying to currently merge two indices together, (Both have the same data, just different name and dates),  
one index is names group it, another is named cloudflare. Is it possible to merge both indexes together and create a graph with both indexes?

Thanks

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [April 6, 2020, 9:48am UTC](https://discuss.elastic.co/t/merge-2-index/226631/2 "2020-04-06T09:48:39Z")

</div>

Hi James

Are you familiar with the concept of index patterns?

[https://www.elastic.co/guide/en/kibana/current/index-patterns.html](https://www.elastic.co/guide/en/kibana/current/index-patterns.html)

They allow you to search/query across multiple indices

Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![jamesyone](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jamesyone](https://discuss.elastic.co/u/jamesyone)\
**Post date:** [April 7, 2020, 12:56am UTC](https://discuss.elastic.co/t/merge-2-index/226631/3 "2020-04-07T00:56:32Z")

</div>

Hi Mathias,

Thank you for the link!

Unfortunately, when I search, since the two indices are different names ( 1 is group it, 2 is cloudlflare) when I try to combine the two, I am not able to?

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [April 8, 2020, 6:34am UTC](https://discuss.elastic.co/t/merge-2-index/226631/4 "2020-04-08T06:34:59Z")

</div>

Hi

You can comma separate multiple different named indices in you index pattern

 ![Bildschirmfoto 2020-04-08 um 08.32.47](https://us1.discourse-cdn.com/elastic/original/3X/e/0/e06fdc5939f30f9ec23de2c515023da5f12efb2b.png)  
hope this helps!  
Best,  
Matthias

---

<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:** [May 6, 2020, 6:38am UTC](https://discuss.elastic.co/t/merge-2-index/226631/5 "2020-05-06T06:38:52Z")

</div>

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