# Multiple index patterns per index

**URL:** <https://discuss.elastic.co/t/multiple-index-patterns-per-index/646>\
**Category:** Kibana\
**Created:** [May 13, 2015, 6:13pm UTC](https://discuss.elastic.co/t/multiple-index-patterns-per-index/646 "2015-05-13T18:13:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmrdiscuss](https://avatars.discourse-cdn.com/v4/letter/k/db5fbb/32.png) [@kmrdiscuss](https://discuss.elastic.co/u/kmrdiscuss)\
**Post date:** [May 13, 2015, 6:13pm UTC](https://discuss.elastic.co/t/multiple-index-patterns-per-index/646/1 "2015-05-13T18:13:54Z")

</div>

Hi. I have two fields in my index of type date - observation\_dt and dateofbirth\_dt. I want to create two visualizations having observation\_dt and dateofbirth\_dt being the X-axis, yet it seems I can only create a single 'index pattern' per 'Index name'. Does Kibana support multiple 'index patterns' per 'Index name'?

Thanks

---

<div class="post-metadata">

**Author:** ![rashid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashid/32/12566_2.png) [@rashid](https://discuss.elastic.co/u/rashid)\
**Post date:** [May 13, 2015, 8:38pm UTC](https://discuss.elastic.co/t/multiple-index-patterns-per-index/646/2 "2015-05-13T20:38:52Z")

</div>

You should be able to choose a different X-axis field even if the time field for the index is different. If you need different time fields on the index pattern you can use this trick:

Say my index is called `myIndex`. I make 2 index patterns, one called `myIndex`, another called `myIndex*` both will match the same index, assuming there's nothing else that matches `myIndex*`

We're considering opaque indexPattern IDs for a future version

---

<div class="post-metadata">

**Author:** ![kmrdiscuss](https://avatars.discourse-cdn.com/v4/letter/k/db5fbb/32.png) [@kmrdiscuss](https://discuss.elastic.co/u/kmrdiscuss)\
**Post date:** [May 13, 2015, 8:49pm UTC](https://discuss.elastic.co/t/multiple-index-patterns-per-index/646/3 "2015-05-13T20:49:27Z")

</div>

> [@Rashid\_Khan](#):
>
> You should be able to choose a different X-axis field even if the time field for the index is different.

Thanks a lot. The above worked for what I needed.

I also discovered that if the date type fields are in a nested type you need to manually add them to the metaFields list in the Advance Settings page.

---

<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:** [July 6, 2017, 2:19pm UTC](https://discuss.elastic.co/t/multiple-index-patterns-per-index/646/4 "2017-07-06T14:19:34Z")

</div>


