Index name wIldcard Problems

security

(John Damore) #1

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


(Steve Kearns) #2

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


(John Damore) #3

I am using shield 1.3 and ES 1.7.2 and a user with with only the report_user role


(system) #4