# Kibana: regex as index pattern

**URL:** <https://discuss.elastic.co/t/kibana-regex-as-index-pattern/92696>\
**Category:** Kibana\
**Created:** [July 11, 2017, 4:27pm UTC](https://discuss.elastic.co/t/kibana-regex-as-index-pattern/92696 "2017-07-11T16:27:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerxu](https://avatars.discourse-cdn.com/v4/letter/r/b4bc9f/32.png) [@rogerxu](https://discuss.elastic.co/u/rogerxu)\
**Post date:** [July 11, 2017, 4:27pm UTC](https://discuss.elastic.co/t/kibana-regex-as-index-pattern/92696/1 "2017-07-11T16:27:29Z")

</div>

Is it possible to use regex to define a Kibana index pattern? Many of my index names are UUID's, and I am not able to create an index pattern to match them other than "\*", which will of course include all the other non UUID index names as well.

If I could use the following regex: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} to match all the UUID index names, that'd be great, but sadly this does not work.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [July 11, 2017, 6:37pm UTC](https://discuss.elastic.co/t/kibana-regex-as-index-pattern/92696/2 "2017-07-11T18:37:25Z")

</div>

@rogerxu

The only wildcard that is supported is `*`. Any of the documented behavior in Elasticsearch's [multiple indices](https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-index.html) work in Kibana.

You could also potentially use [index aliases](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-aliases.html) to get something close to what you're looking for.

---

<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 8, 2017, 6:37pm UTC](https://discuss.elastic.co/t/kibana-regex-as-index-pattern/92696/3 "2017-08-08T18:37:32Z")

</div>

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