# Document Not growing because of Template

**URL:** <https://discuss.elastic.co/t/document-not-growing-because-of-template/189432>\
**Category:** Elasticsearch\
**Created:** [July 8, 2019, 9:46pm UTC](https://discuss.elastic.co/t/document-not-growing-because-of-template/189432 "2019-07-08T21:46:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![meiyuan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/meiyuan/32/44468_2.png) [@meiyuan](https://discuss.elastic.co/u/meiyuan)\
**Post date:** [July 8, 2019, 9:46pm UTC](https://discuss.elastic.co/t/document-not-growing-because-of-template/189432/1 "2019-07-08T21:46:06Z")

</div>

Hi team,  
We are using elasticsearch version 7.0  
We have created this template for our indices, but it seems when the template is in place, the document for that index won't grow at all(index stat stopped updating). Once we remove the template, everything back to normal. There is no error in elasticserach and we don't see any message being backlogged from the application side.

```auto
PUT _template/template_1
{
  "index_patterns" : ["openshift.*"],
  "settings": {
      "index.mapping.ignore_malformed": true,
      "index.mapping.total_fields.limit": 5000
  }, 
 "mappings" :{...}
}

```

The index created is shown like this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bd1276da06f7f81e3a23260b1474b8622bdf208c.png)

Same index shown from Cerebro:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/7/9704af7ee2daafe0d906b06741c769f6165aa8a8.png)

But if I navigate to create index pattern page, there is no such index:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/7/67dac799482e218a7d1191f60f48cce7babc1a13.png)

Any help would be deeply appreciated!  
Thanks!

---

<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:** [August 5, 2019, 9:46pm UTC](https://discuss.elastic.co/t/document-not-growing-because-of-template/189432/2 "2019-08-05T21:46:12Z")

</div>

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