# Index creation doesn't align to the index template

**URL:** https://discuss.elastic.co/t/index-creation-doesnt-align-to-the-index-template/212999
**Category:** Elasticsearch
**Created:** [December 25, 2019, 7:38am UTC](https://discuss.elastic.co/t/index-creation-doesnt-align-to-the-index-template/212999 "2019-12-25T07:38:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ntran](https://avatars.discourse-cdn.com/v4/letter/n/73ab20/32.png) [@ntran](https://discuss.elastic.co/u/ntran)
#### Post date: [December 25, 2019, 7:38am UTC](https://discuss.elastic.co/t/index-creation-doesnt-align-to-the-index-template/212999/1 "2019-12-25T07:38:44Z")

</div>

Hi,

I have a template which follows:

```auto
PUT _template/syslog-template
{
  "index_patterns": ["syslog*"],
  "settings": {
    "index": {
      "number_of_shards": 3,
      "routing.allocation.require.box_type": "warm"
    }
  }
}

```

However, at creation, it is being allocated to the hot node and has replicas - both which are not part of the template.  
Has anyone experienced something similar or seen this before? Why is it not following my template rules?

Thank you,  
Nhung

---

<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: [January 22, 2020, 7:38am UTC](https://discuss.elastic.co/t/index-creation-doesnt-align-to-the-index-template/212999/2 "2020-01-22T07:38:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
