I'm seeing a lot of exceptions like this while making changes to Kibana Dashboards:
ElasticsearchSecurityException[action [cluster:admin/tasks/cancel[n]] is unauthorized for user [_async_search], this action is granted by the cluster privileges [manage,all]]
…and long-running queries are piling up. How can I fix that, so that Kibana can successfully cancel its no-longer-needed queries?
I tried granting the missing privilege, but the _async_search user doesn't seem to exist, through the public API at least:
$ curl -s -XPUT 0:9200/_security/user/_async_search -H 'Content-Type: application/json' -d'{"roles":["manage"]}' | jq
{
"error": {
"type": "validation_exception",
"reason": "Validation Failed: 1: password must be specified unless you are updating an existing user;"
},
"status": 400
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.