Hello, I have a docker-compose cluster of elasticsearch nodes that I have created with security enabled, following this how-to
now I want to bind it to kibana. unfortunately, the port 5601 is quiet and I don't know why. here is my setup:
The ES cluster is up and responds with certificates
root@saigon:~/elk: curl --cacert certs/ca/ca.crt -u elastic:PASSWD https://localhost:9200
{
"name" : "es01",
"cluster_name" : "docker-cluster",
"cluster_uuid" : "ioYAncc6Tz2DcgSJodiBIA",
"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"
}
The kibana configuration is the following
root@saigon:~/elk: grep -v ^# /etc/kibana/kibana.yml | grep -v ^$
logging.dest: /home/wilco/logs/kibana.log
xpack.reporting.encryptionKey: "AAAAA"
xpack.reporting.kibanaServer.port: 443
xpack.reporting.kibanaServer.protocol: https
xpack.reporting.kibanaServer.hostname: 163.xxx.xxx.xxx
elasticsearch.url: "https://localhost:9200"
elasticsearch.username: "kibana"
elasticsearch.password: "THE_PASS"
elasticsearch.ssl.certificate: "/root/elk/certs/ca/ca.crt"
elasticsearch.ssl.key: "/root/elk/certs/ca/ca.key"
kibana server is not there
root@saigon:~/elk# curl localhost:5601
curl: (7) Failed to connect to localhost port 5601: Connection refused
root@saigon:~/elk# lsof -i :5601
root@saigon:~/elk#
and the logs loops on this line:
{"type":"log","@timestamp":"2018-05-14T13:47:08Z","tags":["status","plugin:kibana@6.2.2","info"],"pid":9485,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2018-05-14T13:47:13Z","tags":["status","plugin:kibana@6.2.2","info"],"pid":9510,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2018-05-14T13:47:18Z","tags":["status","plugin:kibana@6.2.2","info"],"pid":9522,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2018-05-14T13:47:22Z","tags":["status","plugin:kibana@6.2.2","info"],"pid":9566,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
....