【异常】kibana启动出现的警告信息以及解决方法

1、docker启动Kibana7.x.x 后。显示一些警告信息。如下

[root@hadoop-keda docker]# docker logs 0fb7cd8b2a98d02
  log   [09:44:43.344] [info][plugins-system] Setting up [4] plugins: [security,translations,inspector,data]
  log   [09:44:43.356] [info][plugins][security] Setting up plugin
  log   [09:44:43.358] [warning][config][plugins][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
  log   [09:44:43.359] [warning][config][plugins][security] Session cookies will be transmitted over insecure connections. This is not recommended.
  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
  log   [09:44:43.501] [info][plugins][translations] Setting up plugin
  log   [09:44:43.501] [info][data][plugins] Setting up plugin
  log   [09:44:43.504] [info][plugins-system] Starting [3] plugins: [security,translations,data]

2、查看官方文档,如下
【异常】kibana启动出现的警告信息以及解决方法_第1张图片
【异常】kibana启动出现的警告信息以及解决方法_第2张图片
编辑kibana.yml,添加如下内容

xpack.security.encryptionKey: "something_at_least_32_characters"
xpack.reporting.encryptionKey: "something_at_least_32_characters"

 

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