# Index Pattern to see multiple indices (named differently)

**URL:** <https://discuss.elastic.co/t/index-pattern-to-see-multiple-indices-named-differently/278685>\
**Category:** Elasticsearch\
**Created:** [July 14, 2021, 2:57pm UTC](https://discuss.elastic.co/t/index-pattern-to-see-multiple-indices-named-differently/278685 "2021-07-14T14:57:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_McGovern](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_mcgovern/32/90131_2.png) [@Matt\_McGovern](https://discuss.elastic.co/u/Matt_McGovern)\
**Post date:** [July 14, 2021, 2:57pm UTC](https://discuss.elastic.co/t/index-pattern-to-see-multiple-indices-named-differently/278685/1 "2021-07-14T14:57:51Z")

</div>

We have 3 indices that are not named consistently, and we'd like a new index pattern that will allow queries to all three indices. Without renaming the existing indices, is there a good way to allow 3 index patterns inside a single NEW index pattern?

Also, somewhat unrelated, our index patterns are somewhat long, such that in the Discover screen the end of the index pattern is hidden because the UI doesn't show the whole string. Does anyone know how to get around this?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 15, 2021, 12:30pm UTC](https://discuss.elastic.co/t/index-pattern-to-see-multiple-indices-named-differently/278685/2 "2021-07-15T12:30:15Z")

</div>

How about using aliases for this? See [Aliases API | Elasticsearch Guide [7.13] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.13/indices-aliases.html)

---

<div class="post-metadata">

**Author:** ![Matt\_McGovern](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt_mcgovern/32/90131_2.png) [@Matt\_McGovern](https://discuss.elastic.co/u/Matt_McGovern)\
**Post date:** [July 15, 2021, 6:34pm UTC](https://discuss.elastic.co/t/index-pattern-to-see-multiple-indices-named-differently/278685/3 "2021-07-15T18:34:08Z")

</div>

Each of our indices have their own alias which need to be maintained, as our logstash puts data into each independently of one another. Each index also has its own index pattern. We just want an additional index pattern that can query all three.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 16, 2021, 8:39am UTC](https://discuss.elastic.co/t/index-pattern-to-see-multiple-indices-named-differently/278685/4 "2021-07-16T08:39:03Z")

</div>

I guess I am missing some more details here. Just because there is already an alias, doesn't mean you cannot add another one, that groups those three indices and use that for an index pattern. Can you explain what's blocking you from doing this in more detail?

---

<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:** [August 13, 2021, 8:39am UTC](https://discuss.elastic.co/t/index-pattern-to-see-multiple-indices-named-differently/278685/5 "2021-08-13T08:39:33Z")

</div>

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