Hello,
We have a plugin running in 6.4.3 that uses the node client to make a series of calls to the Elasticsearch API. When security is enabled I see the error:
org.elasticsearch.ElasticsearchSecurityException: action [indices:admin/exists] is unauthorized for user [_system]
I have tried adding to role_mapping the following:
superuser:
- _system
However the client still cannot call index exists. Is it possible to change who the client runs as in a plugin or add permissions to the _system user?
It seems I can query the health of the index and get back a map of index names to health status. If the index name is not in the map then index does not exist. Since the _system user has permission to query health status of an index but now query if it exists I am wondering if there is a list of what permissions the _system user has.
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.