原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/11766147.html

 

Logstash导入数据后,Cerebro显示集群health的状态为yellow

ES集群health为yellow解决办法

 

解决办法

1 curl http://localhost:9200/_cat/indices\?v

ES集群health为yellow解决办法

 

1 curl http://localhost:9200/_cluster/health?pretty=true

ES集群health为yellow解决办法

 

1 curl -H "Content-Type: application/json" -XPUT 'http://localhost:9200/_settings' -d '
2 {
3     "index" : {
4         "number_of_replicas" : 0
5     }
6 }'

ES集群health为yellow解决办法

 

1 curl http://localhost:9200/_cluster/health?pretty=true

ES集群health为yellow解决办法

 

再次查看Cerebro,health的状态为green

ES集群health为yellow解决办法

 

相关文章:

  • 2022-12-23
  • 2021-12-28
  • 2021-07-14
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
  • 2021-06-25
  • 2021-10-24
猜你喜欢
  • 2022-12-23
  • 2021-05-19
  • 2021-05-27
  • 2021-11-23
  • 2021-08-28
  • 2021-11-03
相关资源
相似解决方案