X-Pack Kibana failed to authenticate user

It sounds like that you are using the wrong password. Did you set the password yourself or did you get auto-generated passwords from setup-passwords ?

You can test the passwords you think are correct against elasticsearch manually by running

curl -u <user_here> 'http://localhost:9200/_xpack/security/_authenticate?pretty'

replacing <user_here> with the relevant username ( elastic, kibana, logstash_system ) and entering the appropriate password for each.

If you can't remember or are not sure which passwords were generated or what you have set, you can always reset the password of the builtin users manually using the instructions that @timv has shared in a previous answer

3 Likes