Elasticsearch is still initializing the kibana index

后端 未结 4 815
面向向阳花
面向向阳花 2020-12-13 12:32

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

4条回答
  •  甜味超标
    2020-12-13 12:59

    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

提交回复
热议问题