# Unassigned shards still not working

**URL:** <https://discuss.elastic.co/t/unassigned-shards-still-not-working/28670>\
**Category:** Elasticsearch\
**Created:** [September 4, 2015, 10:21am UTC](https://discuss.elastic.co/t/unassigned-shards-still-not-working/28670 "2015-09-04T10:21:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![trekr5](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@trekr5](https://discuss.elastic.co/u/trekr5)\
**Post date:** [September 4, 2015, 10:21am UTC](https://discuss.elastic.co/t/unassigned-shards-still-not-working/28670/1 "2015-09-04T10:21:34Z")

</div>

Hi,

I wondering if someone could please help.

These are the results of an ES cluster health call:

```
{
  "cluster_name" : "ae-logstash_esearch",
  "status" : "red",
  "timed_out" : false,
  "number_of_nodes" : 2,
   "number_of_data_nodes" : 2,
   "active_primary_shards" : 483,
   "active_shards" : 966,
   "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 12
}

```

When I have tried to force these remaining 12 unassigned shards onto a data node with a call to /cluster/reroute endpoint:

```
curl -XPOST 'localhost:9200/_cluster/reroute?explain&pretty' -d '{
  "commands" : [ {
    "allocate" : {
     "index" : "logstash-2015.09.03",
      "shard" : 0,
        "node" : "ip-xxxxxxxx",
         "allow_primary" : true
        }
      }
   ]
 }'

```

I get a response with the following as part of it:-

```
   }, {
     "decider" : "filter",
     "decision" : "NO",
      "explanation" : "node does not match index required filters [*:\" \"]"
   }, {

```

I've tried to do a cluster.routing.allocation.require.\* : "" request but this still hasn't kickstarted the allocation of shards process again.

Can anyone tell me what else I should try?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 4, 2015, 11:31am UTC](https://discuss.elastic.co/t/unassigned-shards-still-not-working/28670/2 "2015-09-04T11:31:39Z")

</div>

Is your elasticsearch node name `ip-xxxxxxxx`?

---

<div class="post-metadata">

**Author:** ![trekr5](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@trekr5](https://discuss.elastic.co/u/trekr5)\
**Post date:** [September 4, 2015, 11:34am UTC](https://discuss.elastic.co/t/unassigned-shards-still-not-working/28670/3 "2015-09-04T11:34:23Z")

</div>

sorry,

no, i put crosses in place of the actual node name.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:52pm UTC](https://discuss.elastic.co/t/unassigned-shards-still-not-working/28670/4 "2017-07-05T23:52:03Z")

</div>


