kibana 启动报错
一、问题背景
访问ELK
二、报错截图如下
{"type":"log","@timestamp":"2021-03-16T13:45:39Z","tags":["info","savedobjects-service"],"pid":8,"message":"Creating index .kibana_1."}
{"type":"log","@timestamp":"2021-03-16T13:45:39Z","tags":["warning","savedobjects-service"],"pid":8,"message":"Unable to connect to Elasticsearch. Error: [resource_already_exists_exception] index [.kibana_1/FZSbLnlUSHeArOtZ7upoWA] already exists, with { index_uuid="FZSbLnlUSHeArOtZ7upoWA" & index=".kibana_1" }"}
{"type":"log","@timestamp":"2021-03-16T13:45:39Z","tags":["warning","savedobjects-service"],"pid":8,"message":"Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_1 and restarting Kibana."}
三、我的项目配置如下
四、分析问题
[root@node1 ~]# curl http://localhost:9200/_cat/aliases
.kibana_task_manager .kibana_task_manager_1 - - - -
五、问题原因
这就是资源已存在的原因
六、解决方式
curl -X DELETE http://localhost:9200/.kibana*
{"acknowledged":true}
再重新启动kibana