0

Hi I trying to install elk on ubuntu20.04 and I used this resource https://kifarunix.com/install-elk-stack-8-x-on-ubuntu/ but when I want to run /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana I get the flowing error

ERROR: Failed to determine the health of the cluster. Unexpected http status [503] how can I fix this?

pleas help me!!!

1 Answers1

0

Are you running elasticsearch on a single node? If so, check if you have the line cluster.initial_master_nodes: ["localhost"] uncommented on the elasticsearch.yml file. Comment the line and add discovery.type: single-node on the next line. Restart elasticsearch and check. Check on this link too [Error] Setup-passwords: Failed to determine the health of the cluster

Hope this helps.

kiptowett
  • 1
  • 2