Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kibana FATAL Error: [elasticsearch.url]: definition for this key is missing

install and start was ok on a ubuntu 18.04 for kibana but I find this

FATAL  Error: [elasticsearch.url]: definition for this key is missing

in /var/log/kibana/kibana.stderr

I have this

server.port: 5601
server.host: "192.168.56.51"
elasticsearch.url: http://localhost:9201

in /etc/kibana/kibana.yml and when I do a wget http://localhost:9201 on the machine I get the expected index.html

any obvious reason why kibana could complain ?

[Update] meantime I have reinstalled the whole installation and it works for some reason. Howerever in many forums peaple has the same issue, so there might be a pitfallduring the installation.

like image 603
user3732793 Avatar asked Jul 18 '19 14:07

user3732793


Video Answer


2 Answers

I got the same issue for 7.2.0, got resolved by

elasticsearch.hosts: ["http://localhost:9200/"]

#elasticsearch.url: "http://localhost:9200"

like image 68
Murali Avatar answered Oct 19 '22 21:10

Murali


Try using this instead of "elasticsearch.url: http://localhost:9201":

elasticsearch.hosts: ["http://localhost:9200/"]
like image 43
Tom Bamber Avatar answered Oct 19 '22 21:10

Tom Bamber