# All new indexes created have unassigned shards

**URL:** <https://discuss.elastic.co/t/all-new-indexes-created-have-unassigned-shards/57929>\
**Category:** Elasticsearch\
**Created:** [August 12, 2016, 1:57pm UTC](https://discuss.elastic.co/t/all-new-indexes-created-have-unassigned-shards/57929 "2016-08-12T13:57:04Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![predominant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/predominant/32/11542_2.png) [@predominant](https://discuss.elastic.co/u/predominant)\
**Post date:** [August 30, 2016, 5:10pm UTC](https://discuss.elastic.co/t/all-new-indexes-created-have-unassigned-shards/57929/5 "2016-08-30T17:10:37Z")

</div>

I'm having the same problem. Thought I would throw in my configs etc here too.

Similar to [Unassigned shards, v2](https://discuss.elastic.co/t/unassigned-shards-v2/14952) (Unanswered).

Each morning at 9am (JST, which is UTC0) a new index for logstash is created in elasticsearch. At this time, these new shards are UNASSIGNED. They remain in this state until manually rerouted using the `_cluster/reroute` api. This can take a few minutes, or anywhere up to an hour to settle down, during which time, kibana has no access to information, and logstash begins erroring while elasticsearch is basically unavailable.

```auto
{
  "persistent": {

  },
  "transient": {
    "cluster": {
      "routing": {
        "allocation": {
          "enable": "all"
        }
      }
    }
  }
}

```

My elasticsearch.yml on all 3 nodes is the same, and basically unchanged:

```auto
cluster.name: prjsearch
node.name: stg-agselastic101z.stg.jp.local
node.max_local_storage_nodes: 1
path.conf: /etc/elasticsearch
path.data: /data/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0
http.port: 9200
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["10.73.11.105:9300", "10.73.12.105:9300", "10.73.13.105:9300"]
discovery.zen.minimum_master_nodes: 2
gateway.expected_nodes: 0
http.cors.allow-origin: "*"
http.cors.enabled: true
network.publish_address: 10.73.11.105
node.data: true
node.master: true

```

Any help is appreciated. Its frustrating to have to do manual operations on this cluster every morning.

---

_[View the full topic](https://discuss.elastic.co/t/all-new-indexes-created-have-unassigned-shards/57929)._
