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
}
}