Kibana 403 forbidden

Hi!
After creating passwords "./elasticsearch-setup-password auto" it is impossible to log in to kibana, error 403 forbidden

/etc/kibana/kibana.yml:
elasticsearch.username: "kibana"
elasticsearch.password: "password"

xpack.security.encryptionKey: "something_at_least_32_characters"
xpack.security.sessionTimeout: 600000

/etc/elasticsearch/elasticsearch.yml:
xpack.security.enabled: true

There is a lot of information about this error, but there is no solution anywhere. I saw that it is necessary to set the correct rights to the kibana user, but there is no information about how to do this. I need help.

Try changing that to

elasticsearch.username: "elastic"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.