I have created a user using:
Stack Management / Users
and added roles: kibana_admin, kibana_system
however, the user got error when tried to run queury:
{
"error" : {
"root_cause" : [
{
"type" : "security_exception",
"reason" : "action [indices:data/read/search] is unauthorized for user [ekhlass]"
}
],
"type" : "security_exception",
"reason" : "action [indices:data/read/search] is unauthorized for user [ekhlass]"
},
"status" : 403
}
You need to create a role that gives that user access to that functionality. Then assign that new role to the user.
Kibana Admin - Has no read/write/search on any index privileges.
Kibana System - Has access to system indexes but if you see below it doesn't give read/write/search to *.
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.