# Index name wIldcard Problems

**URL:** <https://discuss.elastic.co/t/index-name-wildcard-problems/33576>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [November 2, 2015, 11:07pm UTC](https://discuss.elastic.co/t/index-name-wildcard-problems/33576 "2015-11-02T23:07:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Damore](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@John\_Damore](https://discuss.elastic.co/u/John_Damore)\
**Post date:** [November 2, 2015, 11:07pm UTC](https://discuss.elastic.co/t/index-name-wildcard-problems/33576/1 "2015-11-02T23:07:27Z")

</div>

I am having a problem search indexes with a wild cards in the name:

roles.yml:

report\_user:  
indices:  
'reports-\*': all

get reports-2015/\_search

works fine

but

get reports-\*/\_search

gives me this:  
{  
"error": "IndexMissingException[[[reports-\*]] missing]",  
"status": 404  
}

Help!  
thanks

---

<div class="post-metadata">

**Author:** ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)\
**Post date:** [November 3, 2015, 3:57pm UTC](https://discuss.elastic.co/t/index-name-wildcard-problems/33576/2 "2015-11-03T15:57:38Z")

</div>

Hi John,

I just tried this on ES 2.0 with Shield 2.0 and I can't reproduce your issue. What versions are you running? Are you sure that you have the right role mapped to your user, and that you're using that user to make requests against ES?

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![John\_Damore](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@John\_Damore](https://discuss.elastic.co/u/John_Damore)\
**Post date:** [November 3, 2015, 11:59pm UTC](https://discuss.elastic.co/t/index-name-wildcard-problems/33576/3 "2015-11-03T23:59:53Z")

</div>

I am using shield 1.3 and ES 1.7.2 and a user with with only the report\_user role

---

<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, 1:48pm UTC](https://discuss.elastic.co/t/index-name-wildcard-problems/33576/4 "2017-07-06T13:48:01Z")

</div>


