kibana7.14.0报错解决方案

kibana7.14.0报错解决方案

报错

报错server.publicBaseUrl is missing and should be configured when running in a production environment. Some features may not behave correctly. See the documentation.

解决方案

修改kibana.yml中的server.publicBaseUrl:字段,如下图

img
img

image-20210826184506282
image-20210826184506282

配置如下:

server.publicBaseUrl: "http://172.31.240.57:5601"  # 这里地址改为你访问kibana的地址,不能以 / 结尾
server.name: kibana
server.host: "0"
elasticsearch.hosts: [ "http://127.0.0.1:9200" ]  # 127.0.0.1:9200改为你自己的elasticsearch地址
xpack.monitoring.ui.container.elasticsearch.enabled: true  # 解释链接https://blog.csdn.net/u011311291/article/details/100041912
#i18n.locale: zh-CN  #汉化
kibana.index: ".kibana"  #配置本地索引
posted @ 2021-08-31 19:44  自在拉基  阅读(7300)  评论(0编辑  收藏  举报