# Index filtering on more than a \* wildcard

**URL:** https://discuss.elastic.co/t/index-filtering-on-more-than-a-wildcard/40802
**Category:** Kibana
**Created:** [February 3, 2016, 12:43am UTC](https://discuss.elastic.co/t/index-filtering-on-more-than-a-wildcard/40802 "2016-02-03T00:43:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pemontto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pemontto/32/3908_2.png) [@pemontto](https://discuss.elastic.co/u/pemontto)
#### Post date: [February 3, 2016, 12:43am UTC](https://discuss.elastic.co/t/index-filtering-on-more-than-a-wildcard/40802/1 "2016-02-03T00:43:28Z")

</div>

As the event times index patterns are now deprecated we've been trying to migrate across to replacing them with wildcards. At the moment this is not working well, we have a number of clusters used by a number of different groups and we're finding that tags are often appended to indices with timestamps when they're reindexed or similar.

e.g.

```
    finance-logs-2016.02.03
    finance-logs-2016.02.03-temp
    finance-logs-2016.02.03-pre-change

```

There are a number of reasons these indices are required and they're usually named in such a way to make use of existing index templates.

Is there going to be a way in the future to support more prescriptive index patterns other than just a wildcard \*, or is there a way to do it today?

---

<div class="post-metadata">

### Author: ![pemontto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pemontto/32/3908_2.png) [@pemontto](https://discuss.elastic.co/u/pemontto)
#### Post date: [February 4, 2016, 6:25am UTC](https://discuss.elastic.co/t/index-filtering-on-more-than-a-wildcard/40802/2 "2016-02-04T06:25:23Z")

</div>

To be more precise I'd like to be able to define a pattern that matches only  
`finance-logs-YYYY.MM.DD` and excludes indices with strings appended to them e.g. `finance-logs-2016.02.03-temp`

---

<div class="post-metadata">

### Author: ![pemontto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pemontto/32/3908_2.png) [@pemontto](https://discuss.elastic.co/u/pemontto)
#### Post date: [February 19, 2016, 10:08pm UTC](https://discuss.elastic.co/t/index-filtering-on-more-than-a-wildcard/40802/3 "2016-02-19T22:08:49Z")

</div>

Github issue created as suggested, this should be a feature of Elasticsearch.

> <https://github.com/elastic/elasticsearch/issues/16735>

---

<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:01pm UTC](https://discuss.elastic.co/t/index-filtering-on-more-than-a-wildcard/40802/4 "2017-07-06T14:01:31Z")

</div>


