【发布时间】:2016-06-28 17:52:22
【问题描述】:
我定期使用另一篇删除所有副本的帖子中的 curl 命令解决未分配的副本消息:ElasticSearch: Unassigned Shards, how to fix?
curl -XPUT localhost:9200/_settings -d '{ "number_of_replicas" :0 }'
我已运行 curl 命令配置自动分配,但无法解决。
curl -XPUT 'localhost:9200/_cluster/settings' -d '{ "transient" : { "cluster.routing.allocation.enable" : "all" } }'
- 为什么我的单节点 AWS-AMI Graylog 2.0 服务器会生成副本 没有分配他们?
- 为什么配置它的 curl 命令不适用?
【问题讨论】:
-
您是否在
graylog-server或 Elasticsearch 日志中看到任何错误或警告? -
没什么帮助。我感兴趣的是弹性搜索的反应似乎很好。
{"acknowledged":true,"persistent":{},"transient":{"cluster":{"routing":{"allocation":{"enable":"all"}}}}}
标签: elasticsearch graylog