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
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步