我经常从另一个帖子里删除所有副本解决与curl命令未分配的副本的消息:ElasticSearch: Unassigned Shards, how to fix?Graylog 2.0 - 为什么副本未被分配?
curl -XPUT localhost:9200/_settings -d '{ "number_of_replicas" :0 }'
我已经运行卷曲命令来配置自动分配,但它并没有解决。
curl -XPUT 'localhost:9200/_cluster/settings' -d '{ "transient" : { "cluster.routing.allocation.enable" : "all" } }'
- 为什么我的单节点AWS-AMI Graylog 2.0服务器生成副本 不分配呢?
- 为什么curl命令将它配置为不应用?
您是否在您的'graylog-server'或Elasticsearch日志中看到任何错误或警告? –
没有什么帮助。我感兴趣的是来自elasticsearch的回应看起来很好。 '{“acknowledged”:true,“persistent”:{},“transient”:{“cluster”:{“routing”:{“allocation”:{“enable”:“all”}}}}}' – razumzhiro