Kibana6.x.x——啓動後的一些警告信息記錄以及解決方法

一、發現的第一個警告信息html

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】屬性:session

xpack.reporting.encryptionKey: "a_random_string"

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

 

 二、發現的第二個警告信息ide

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】屬性:ui

xpack.security.encryptionKey: "something_at_least_32_characters"

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

相關文章
相關標籤/搜索