警告1:[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: "something_at_least_32_characters" 官方文档:https://www.elastic.co/guide/en/kibana/6.x/using-kibana-with-security.html
# 注意:参数值至少32位,否则启动会报错提示
xpack.security.encryptionKey: "122333444455555666666777777788888888"
xpack.reporting.encryptionKey: "122333444455555666666777777788888888"