Elasticsearch analysis failed with message '[security_exception] action [indices:admin/analyze] is unauthorized for user [alice]

Hi,
I'm using elasticsearch 5.3.1 with X-Pack. I created a user with the following role. When I now execute an analyzer i will get the following error. How can I add analyze privilege to my role?
Thanks for your help!

Error
Elasticsearch analysis failed with message '[security_exception] action [indices:admin/analyze] is unauthorized for user [alice]' for query 'Gulgowski163'

Role
"RestrictByCity": {
"cluster": [
"monitor"
],
"indices": [
{
"names": [
"fhir"
],
"privileges": [
"read"
],
"query": "{"match":{"address.city":"Boston"}}"
}
],
"run_as": [],
"metadata": {},
"transient_metadata": {
"enabled": true
}
}

Hello,
I still have the problem, does anyone have an idea?
Regards

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