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

Just upgraded a node from 6.8.1 to 7.2.0 and I'm getting the error message right after I start with journalctl that states

Jul 11 14:10:30 dch1092ql5app kibana[25880]: FATAL  Error: [elasticsearch.url]: definition for this key is missing

After reading the error message it seemed like a pretty easy fix, just make sure that elasticsearch.url has been filled in. Yet when I add our elasticsearch url in Kibana starts and then stops with the same error message.

Yaml settings

# The URL of the Elasticsearch instance to use for all your queries.
#elasticsearch.url: "http://localhost:9200"
#elasticsearch.url: "https://abc.gov:9200"
elasticsearch.url: "http://abc.gov:9200"

Problem solved. During the upgrade the new format of the kibana.yml was not installed. Either this was an installation problem or I just didn't read that I was supposed to do it. If you run into this issue check that your kibana yaml is correct, ie the appropriate version.

2 Likes