I am not able to connect Kibana with elasticsearch. Here is my elasticsearch file config:
cluster.name: laboratori
node.name: node-1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
and my kibana.yml has nothing (everything is commented).
If I try a curl to the elastisearch url, it responds:
{
"name" : "node-1",
"cluster_name" : "laboratori",
"cluster_uuid" : "fNCQ7ByMRfaDLqe0wyQv6g",
"version" : {
"number" : "6.4.0",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "595516e",
"build_date" : "2018-08-17T23:18:47.308994Z",
"build_snapshot" : false,
"lucene_version" : "7.4.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
but the Kibana says "Cannot connect to the Elasticsearch cluster currently configured for Kibana."
And if I check the kibana.stdout I see the message:
{"type":"log","@timestamp":"2018-09-17T18:17:05Z","tags":["warning","elasticsearch","admin"],"pid":3768,"message":"Unable to revive connection: http://localhost:9200/"}
{"type":"log","@timestamp":"2018-09-17T18:17:05Z","tags":["warning","elasticsearch","admin"],"pid":3768,"message":"No living connections"}
Could someone help me?
Regards,
Joan