elastic:Another Kibana instance appears to be migrating the index

背景:
k8s集群上部署EFK之后,kibana 访问一直有问题
浏览器访问
在这里插入图片描述
查看kibana日志
在这里插入图片描述
最后一句报错至为关键

{"type":"log","@timestamp":"2019-12-11T08:03:14Z","tags":["warning","migrations"],"pid":1,"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_2 and restarting Kibana."}

给出的建议是要删除index .kibana_2 然后重启 kibana

怎么删除呢?
参考 https://discuss.elastic.co/t/another-kibana-instance-appears-to-be-migrating-the-index/165708

curl -XDELETE http://localhost:9200/.kibana_1 

localhost 更换成 es service 的 clusterip 即可
之后 重启kibana ,问题消失

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章