Hallo !
Just installed x-pack and generated the password with the setup-password script.
I can access elasticsearch and kibana via their simple htaccess with their respectiv password, so far so good.
Now in kibana console I check my current use with:
GET /_xpack/security/_authenticate
and get:
"username": "kibana",
"roles": [
"kibana_system"
]
But whenever I make a simple search on one of my indexes:
{
"type": "security_exception",
"reason": "action [indices:data/read/search] is unauthorized for user [kibana]"
}
What I've tried so far:
- Use elastic user and password inside kibana config file: Didn't change kibana user and permission
- Tried to modify any roles or access: either via kibana console same security_exception, either via x-pack command line with I get ERROR: Invalid username [kibana]... Username [kibana] is reserved and may not be used.
- Install x-pack on kibana aswell, didn't find any more solution
Info about my setup:
- Just updated to 6.0 for ES and Kibana
- Everything local so far
At the end, I would just like to be able to add a security for Kibana in the perspective of access the installation on my server. The only way to do that is I guess by installing x-pack everywhere.
I'm lost in every documentation as they talk about ssl and all which is not needed for me here.
Stuck between the impossibility to modify built-in roles, and built-in roles not able to access anything.
I might have missed something really simple, anybody here that can point it out for me ?
Thanks for the help !