Hostname environment variable not working in Kibana 6.7.0

I'm trying to start the kibana service on a CentOS 7 system but the ${HOSTNAME} environment variable isn't being recognized by the service:

server.name: {HOSTNAME} server.host: {HOSTNAME}

When I start the service via systemctl, the service fails and the following lines appears in journalctl:
This text will be hidden
Apr 04 13:06:28

Summary

es-master01

kibana[23654]: FATAL CLI ERROR Error: Unknown environment variable referenced in conf
ig : HOSTNAME

Is there an issue with how I am entering the data in the yml file or something I need to do on my system?

Hello dnwobuDilim Nwobu

Could you share the relevant portion of your kibana.yml config file?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.