查看es 集群健康状态
curl -XGET "http://$ip:9200/_cat/health?"
查看索引变红的原因
curl -XGET "http://$ip:9200/_cluster/allocation/explain"
如下
确认索引是否可删除,或者调整副本为0
查看es 集群健康状态
curl -XGET "http://$ip:9200/_cat/health?"
查看索引变红的原因
curl -XGET "http://$ip:9200/_cluster/allocation/explain"
如下
确认索引是否可删除,或者调整副本为0