Cannot reach kibana

I know this will sound like a broken record, but I
ve been racking my brain all day to try to get kibana working properly. When I try to access the Kibana interface(http://ipaddress:5601, I get the website cannot be reached.

First thing I did was check my Kibana.yml file output:

Default Kibana configuration from kibana-docker.

from https://github.com/elastic/kibana-docker/blob/master/build/kibana/config/kibana.yml

server.name: kibana
server.host: "0.0.0.0"
server.port: 5601
elasticsearch.url: "http://localhost:9200"

I've tried using my ip address, loopback ip for server.host, and ip address for elasticsearch.url.

Next I made sure that I could curl both kibana and elasticsearch:

curl -XGET http://localhost:5601 var hashRoute = '/app/kibana';
var defaultRoute = '/app/kibana';

var hash = window.location.hash;
if (hash.length) {
window.location = hashRoute + hash;
} else {
window.location = defaultRoute;

[root@ip-10-0-0-91 ec2-user]# curl -XGET http://localhost:9200
{
"name" : "s5ILfbF",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "7GSuYka1QSm5pvuLtOVf5w",
"version" : {
"number" : "6.2.4",
"build_hash" : "ccec39f",
"build_date" : "2018-04-12T20:37:28.497551Z",
"build_snapshot" : false,
"lucene_version" : "7.2.1",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}

Finally I reviewed the kibana log file:

{"type":"response","@timestamp":"2018-07-27T03:01:35Z","tags":[],"pid":222,"meth od":"get","statusCode":200,"req":{"url":"/","method":"get","headers":{"user-agen t":"curl/7.29.0","host":"localhost:5601","accept":"/"},"remoteAddress":"172.17 .0.1","userAgent":"172.17.0.1"},"res":{"statusCode":200,"responseTime":2,"conten tLength":9},"message":"GET / 200 2ms - 9.0B"}
{"type":"response","@timestamp":"2018-07-27T03:02:11Z","tags":[],"pid":222,"meth od":"get","statusCode":200,"req":{"url":"/","method":"get","headers":{"user-agen t":"curl/7.29.0","host":"localhost:5601","accept":"/"},"remoteAddress":"172.17 .0.1","userAgent":"172.17.0.1"},"res":{"statusCode":200,"responseTime":2,"conten tLength":9},"message":"GET / 200 2ms - 9.0B"}

I don't have Nginx installed as of now, but I noticed on a previous test server I built with elk stack docker, I'm able to access the Kibana interface with the Nginx service disabled.

Any help would be appreciated.

Can you try and set the server.host in kibana.yml to your instance's IP address?

I have but still no luck. Crazy thing is, this server is a clone from the elk test server I created.

Anybody have ideas of how to resolve this problem? I can curl the localhost, but not the ip address associated with the localhost. Which is causing winlogbeats and filebeats to fail on my client servers to communicate with ELK.

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