[Solved] Kibana 7.14.0 error: server.publicBaseUrl is missing and should be configured when running in a production environment.

kibana 7.14.0 error solution
Report an error

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

Solution:
Modify server.publicBaseUrl: in kibana.yml as below:

The configuration is as follows.

server.publicBaseUrl: "http://172.31.240.57:5601"  # Here the address is changed to the address you use to access kibana, not ending in /
server.name: kibana
server.host: "0"
elasticsearch.hosts: [ "http://127.0.0.1:9200" ]  # 127.0.0.1:9200 change to your elasticsearch url
xpack.monitoring.ui.container.elasticsearch.enabled: true  
#i18n.locale: zh-CN 
kibana.index: ".kibana" 

Similar Posts: