Unassigned Shards


Hi all

Had an out of disk space issue earlier which resulted in about 200 unassigned shards. I managed to force all but 4 of them to be assigned to the last index. I decided to manually rotate the deflector index, and then the number of unassigned shards increased to 8 (4 for the current index, 4 for the last one).

When I try using _cluster/reroute to force the shards to be assigned to an index, I get this error: “error”:“ElasticsearchIllegalArgumentException[resolved [graylog] into [2] nodes, where expected to a single node]”,“status”:400}

Any ideas how I can resolve this?



(Rafaelcarsetimo) #2

try this

curl -XPUT 'localhost:9200/_settings' -d '
    "index" : {
        "number_of_replicas" : 0

Elasticsearch cluster is RED - Solved

Sorry for the late reply, but thank you! That fixed it.