Kibana failed to open at browser

HI,
I'm using ELK version 6.2.4 by using docker ELK is running on my server. My issue is unable to open kibana on my browser.

Elasticsearch.yml

    cluster.name: "docker-cluster"
    network.host: 0.0.0.0
    # minimum_master_nodes need to be explicitly set when bound on a public IP
    # set to 1 to allow single node clusters
    # Details: https://github.com/elastic/elasticsearch/pull/17288
    discovery.zen.minimum_master_nodes: 1
    #xpack.license.self_generated.type: trial
    xpack.security.enabled: false
    #xpack.security.http.ssl.enabled: true
    #xpack.security.http.ssl.key: /usr/share/elasticsearch/config/elasticsearch/elasticsearch.key
    #xpack.security.http.ssl.certificate: /usr/share/elasticsearch/config/elasticsearch/elasticsearch.crt
    #xpack.security.http.ssl.client_authentication: none
    #xpack.security.http.ssl.verification_mode: certificate

Kibana.yml

# Default Kibana configuration from kibana-docker.
server.name: kibana
server.host: "0"
elasticsearch.url: "http://xxx.xx.xx.com:9200"
#elasticsearch.username: kibana
#elasticsearch.password: temp123
#elasticsearch.ssl.verificationMode: none
#xpack.monitoring.ui.container.elasticsearch.enabled: false
#xpack.security.enabled: true
#server.ssl.enabled: true
#server.ssl.certificate: /usr/share/kibana/config/kibana.example.org.crt
#server.ssl.key: /usr/share/kibana/config/kibana.example.org.key

Curl response for ES

 curl -XGET "http://xx.xx.xx.com:9200/"
{
  "name" : "zlr7pyG",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "u78k-lGZRbuEQaQDAZH7yA",
  "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"
}

Response for Kibana:

curl -XGET http://localhost:5601/ -I
HTTP/1.1 200 OK
kbn-name: kibana
kbn-version: 6.2.4
kbn-xpack-sig: 2fb45d16851c4d44707397a6ceb17437
cache-control: no-cache
content-type: text/html; charset=utf-8
content-length: 217
accept-ranges: bytes
Date: Thu, 04 Oct 2018 16:12:45 GMT
Connection: keep-alive

Kibana Log:

{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["listening","info"],"pid":1,"message":"Server running at http://0:5601"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:elasticsearch@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["license","info","xpack"],"pid":1,"message":"Imported license information from Elasticsearch for the [data] cluster: mode: trial | status: active | expiry date: 2018-11-03T05:38:24+00:00"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:xpack_main@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:searchprofiler@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:ml@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:tilemap@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:watcher@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:graph@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:reporting@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:security@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["status","plugin:logstash@6.2.4","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["info","monitoring-ui","kibana-monitoring"],"pid":1,"message":"Starting all Kibana monitoring collectors"}
{"type":"log","@timestamp":"2018-10-04T14:34:53Z","tags":["license","info","xpack"],"pid":1,"message":"Imported license information from Elasticsearch for the [monitoring] cluster: mode: trial | status: active | expiry date: 2018-11-03T05:38:24+00:00"}

Hello Ganesh,

I'm assuming you've tried going to http://<your server>:5601. Have you tried running a curl command from the server itself? curl http://localhost:5601. If this returns content, you may have a port access issue.

If you have a server/port access issue, have firewall/iptables been configured to allow traffic on the 5601 port or another port through which traffic (including Kibana's) is forwarded? I can't recommend a specific server configuration as there are many ways to configure a server for accessing locally hosted apps such as Kibana. Which way makes sense will depend on your server's operating system and your specific access requirements for Kibana.

Regards,
Aaron
You mi

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