Kibana报错:Login is currently disabled. Administrators should consult the Kibana logs for more details

报错:

界面:
Kibana报错:Login is currently disabled. Administrators should consult the Kibana logs for more details_第1张图片
启动报错:
Kibana报错:Login is currently disabled. Administrators should consult the Kibana logs for more details_第2张图片
提取错误:

[warning][license][xpack] License information from the X-Pack plugin could not be obtained from 
Elasticsearch for the [data] cluster. [security_exception] missing authentication token for REST request [/_xpack],

原因:

因为Elasticesarch 安装了x-pack,并设置了密码,而kibana并未设置用户名和密码,所以kibana无法通过验证。

解决办法:

在kibana 的配置文件config/kibana.yml 中添加用户名和密码参数:
注意:默认用户名:elastic,密码:changeme,博主重新设置过密码为123456
在这里插入图片描述

保存后,重新启动Kibana:
Kibana报错:Login is currently disabled. Administrators should consult the Kibana logs for more details_第3张图片
Kibana报错:Login is currently disabled. Administrators should consult the Kibana logs for more details_第4张图片

参考:https://blog.csdn.net/cominglately/article/details/99744523

完!

你可能感兴趣的:(elasticsearch,kibana,Elasticsearch)