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:
字段,如下圖


配置如下:
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" #配置本地索引