Kibana6.x.x——启动后的一些警告信息记录以及解决方法

杀马特。学长 韩版系。学妹 提交于 2020-05-08 00:53:45

1、发现的第一个警告信息

server  log   [06:55:25.594] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. 
                   To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml

根据提示,在配置文件kibana.yml中添加【xpack.reporting.encryptionKey】属性:

xpack.reporting.encryptionKey: "a_random_string"

官方文档:https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html

 

 2、发现的第二个警告信息

server   log   [06:55:25.686] [warning][security] Generating a random key for xpack.security.encryptionKey. 
                    To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml

根据提示,在配置文件kibana.yml中添加【xpack.security.encryptionKey】属性:

xpack.security.encryptionKey: "something_at_least_32_characters"

官方文档:https://www.elastic.co/guide/en/kibana/6.x/using-kibana-with-security.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!