FATAL Error: [config validation of [elasticsearch].username]: value of "elastic" is forbidden
elastic賬號被禁用鼠锈,則需要重新創(chuàng)建賬號
官方文檔-Es創(chuàng)建用戶
官方文檔-Es用戶角色
進(jìn)入es的docker容器
#創(chuàng)建test_account用戶
bin/elasticsearch-users useradd test_account
#為用戶分配角色
bin/elasticsearch-users roles -a superuser test_account
將創(chuàng)建的用戶寫入kibana的kibana.yml配置中
elasticsearch.username: "test_account"
elasticsearch.password: "******"