Kibana server is not ready yet [self-managed]

Running these services on one self-hosted Ubuntu VM on Google:

  • elasticsearch - not yet setup to be accessible externally
  • enterprise-search - accessible externally
  • kibana - should be accessible externally but something is wrong!

I can access enterprise-search from the public url.
I have almost identical firewall rules for enterprise-search and kibana except for the name and port number.

$ sudo journalctl -fu kibana.service

Apr 30 02:56:34 webserver-1 systemd[1]: Stopped Kibana.
Apr 30 02:56:34 webserver-1 systemd[1]: Started Kibana.

Visiting http://<public_url>:5601/ shows only Kibana server is not ready yet.

kibana.yml:

server.port: 5601
server.host: 192.168.2.3
server.publicBaseUrl: "http://<public_url>:5601/"

elasticsearch.yml:

path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
action.auto_create_index: .monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*
xpack.security.enabled: true
xpack.security.authc.api_key.enabled: true

Welcome to our community! :smiley:

What do your Kibana logs show?

1 Like

Thank you!

Found logs with:
tail -f /var/log/kibana/kibana.log

Saw:
License information could not be obtained from Elasticsearch due to [security_exception] missing authentication credentials for REST request

Updated:
/etc/kibana/kibana.yml
and added:

elasticsearch.username: "kibana_system"
elasticsearch.password: "<pass>"

It's working!

1 Like

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