I have recently installed ElasticSearch 7.3 basic on single instance of CentOS 7. Before enabling basic security I verified that I was able to access both ElasticSearch and Kibana UI.
After that I restarted both Elasticsearch and Kibana and verified that both services are active.
When I am trying to access kibana for the first time so that I can add additional users, using http://mydomain:5601/, I am being prompted for login. I entered built in username (kibana) and password that I configured, but I keep getting follow response
This means that the user you are logging in with has no roles assigned to them.
kibana is an internal user meant to be used by kibana server in order to communicate with elasticsearch and should not be used by end users to log in to Kibana. Use the elastic user to log in at first , and then go to Management -> Security -> Users and create the users and roles that will give access to your users. You can read more about role based access control in our documentation
When I tried to access elasticsearch to list all indexes using kibana user with basic authentication via curl as well as postman, I got the results back.
As @ikakavas suggested, I then used elastic user to login to Kibana and was able to go in without any issues. Thank you both for the helpful tips. Really appreciate it.
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.