Elasticsearch is still initializing the kibana index

Mangoski picture Mangoski · Jul 3, 2015 · Viewed 51.3k times · Source

When I am trying to start Kibana I am facing the following issue. I first restarted my elasticsearch server it was running successfully. After starting Elasticsearch I tried to start Kibana but no luck.

{"name":"Kibana","hostname":"ABCD","pid":3848,"level":30,"msg":"Elasticsearch is still initializing the kibana index... Trying again in 2.5 second.","time":"2015-07-03T07:35:34.936Z","v":0}

Thanks in advance

Answer

gaellm picture gaellm · Feb 25, 2016

the curl -XDELETE http://localhost:9200/.kibana command works fine, however you lost all your kibana' settings (indexes, graphs, dashboards); by just querying the index I've solved the problem, without losing my data. For example:

curl -s http://localhost:9200/.kibana/_recovery?pretty
curl -XPUT 'localhost:9200/.kibana/_settings' -d '
{
    "index" : {
        "number_of_replicas" : 0
    }
}'

Then start Kibana, it should works.

Gael Le Moellic