当前位置: 代码迷 >> 综合 >> 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

热度:17   发布时间:2023-12-04 13:45:18.0

报错:

界面:
在这里插入图片描述
启动报错:
在这里插入图片描述
提取错误:

[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:
在这里插入图片描述
在这里插入图片描述

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

完!

  相关解决方案