Kibana ELB > Not Loading Kibana EC2 on port 5601

Am trying to connect my Kibana ELB to Kibana EC2 Instances.
My Kibana EC2 are running behind SG taht allows INbOUND access to 5601 from the ELB Security Groups.
My Kibana ELB is running behind SG taht allows OUTBOUND access to 5601 to the EC2 Security Groups.
The ELB Listerner is configured on 443 port forwarding to 5601.
Kibana services have started up successfully on all EC2 Instances

When I do a

curl -i -XGET http://localhost:5601

on my Kibana EC2 Instances I get a 200 OK response
However, the ELB shows all my EC2 Instances as OutOfService.
I have a similar configuration on my Elasticsearch ELB>EC2 and it works fine.

Can anyone suggest what could be wrong ?

Have you made any kibana.yml changes? By default it the server only listens on localhost.

The only changes are to point to my Elasticsearch ELB which I think its working fine. I see the following log in my Journal:

["listening","info"],"pid":22561,"message":"Server running at http://localhost:5601"}

["status","ui settings","info"],"pid":22561,"state":"green","message":"Status changed from uninitialized to green - Ready"

curl -XGET http://localhost:5601 returns 200 OK when I'm on the instance itself

Update changing the Server Host to 0.0.0.0 fixed this problem. This is my final YML

server.port: 5601
server.host: 0.0.0.0
elasticsearch.url: "https://MYELB:443"
elasticsearch.ssl.verify: false

1 Like

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