愿你出走半生,归来仍是少年|

枫叶艾辰

园龄:4年9个月粉丝:2关注:61

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

posted @   枫叶艾辰  阅读(315)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起