I am running 3 nodes in AWS: 1 master and 2 data nodes for Elasticsearch. I installed kibana fine with no issues. Now I'm running into an issue with setting up filebeat dashboard in Kibana. Getting the following error
root@ip-172-31-68-160:~# filebeat setup
Overwriting ILM policy is disabled. Set
setup.ilm.overwrite: true for enabling.
Index setup finished.
Loading dashboards (Kibana must be running and reachable)
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://172.21.68.160:8080/api/status fails: fail to execute the HTTP GET request: Get "http://172.21.68.160:8080/api/status": context deadline exceeded (Client.Timeout exceeded while awaiting headers). Response: .
I can hit the URL http://my public ip/api/status fine though but for some reason the filebeat setup is failing.