Skip to main content
Version: 4.5.x LTS

Kibana Troubleshooting

Checking the Status of the Starting Service

Run the following commands to make sure that the service has started completely:

# To view the status of service starting. systemctl status kibana@<instance-name> # To view log of service starting to ensure the service is started without issue. journalctl -u kibana@<instance-name>

Checking the Configuration of the Installed Kibana

The configuration of Kibana is stored in the /var/opt/kibana/<instance-name> directory by default.

vi /var/opt/kibana/<instance-name>/kibana.yml

Issue: Kibana Cannot Connect to Elasticsearch

When you access Kibana via a web browser, you may encounter the following error:

Fatal Error Kibana: Unable to connect to Elasticsearch Error: Unable to connect to Elasticsearch Error: Bad Gateway ...

To solve this issue:

  • Ensure that Elasticsearch is running, see Elasticsearch troubleshooting.
  • Check the YAML file kibana.yml to verify if the connection between Kibana and Elasticsearch is well configured, that is, if the specified host and port of Elasticsearch are correct.