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

Hello,
I am am new to all elastic , so there might me a straight solution I simply don't know

I installed elastic and kibana on a ubuntu 18.04. when I start Kibana I find this
FATAL Error: [elasticsearch.url]: definition for this key is missing
in /var/log/kibana/kibana.stderr

in /etc/kibana/kibana.yml I have this
server.port: 5601
server.host: "192.168.56.51"
elasticsearch.url: "http://localhost:9201"
logging.verbose: True

when I do a wget http://localhost:9201 on the machine I get the expected index.html from elastic

there is not more in the logs. Any reason why kibana would complain about the url ?

What version of Kibana are you using?
elasticsearc.url has been added as an option in kibana.yml only recently.

as it doesnt start I can't tell for sure. It should be latest of
kibana_version: "6.x"

I installed it through this ansible-role-kibana

I had the same problem. My kibana version was 7.2.0.

This is my kibana.yml:
server.port: 5601

xpack.security.enabled: false

server.host: "0.0.0.0"

elasticsearch.url: http://127.0.0.1:9200

kibana.index: ".kibana"

thanks for the reply !
Actually it looks like the ubuntu packages are simply crap. I reinstalled everything from the tar files and everything works fine.
I only changes the server host thing for kibana
I am now on 7.2.1

hello,Are you change the kibana,yml to this:
elasticsearch.hosts: ["http:// 127.0.0.1:9200"]
#elasticsearch.url: "http://127.0.0.1:9200 "
Or you just change the version of kibana to 7.2.1?
thanks

3 Likes

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