# Index template overwritten with default setup.template.overwrite false

**URL:** https://discuss.elastic.co/t/index-template-overwritten-with-default-setup-template-overwrite-false/223684
**Category:** Elasticsearch
**Created:** [March 16, 2020, 4:34am UTC](https://discuss.elastic.co/t/index-template-overwritten-with-default-setup-template-overwrite-false/223684 "2020-03-16T04:34:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![MagicNotElastic](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@MagicNotElastic](https://discuss.elastic.co/u/MagicNotElastic)
#### Post date: [March 16, 2020, 4:34am UTC](https://discuss.elastic.co/t/index-template-overwritten-with-default-setup-template-overwrite-false/223684/1 "2020-03-16T04:34:08Z")

</div>

in escloud

I've got some index templates with optimized configuration, yet everytime they are being overwritten, logs confirms it:  
[instance-0000000011] adding template [winlogbeat-7.5.2-blabla] for index patterns [winlogbeat-7.5.2-blabla-\*]

This log occurs every 10-15 minutes, existing index template name and pattern are the same.

I'm sending data directly from Beats with mostly default configuration, including this:

```auto
setup.template.name: "filebeat"  
setup.template.pattern: "filebeat-*"  
setup.ilm.rollover_alias: "filebeat-%{[agent.version]}-blabla"

```

documentation says:

**`setup.template.overwrite`**  
A boolean that specifies whether to overwrite the existing template. **The default is false**.

---

<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: [April 13, 2020, 4:41am UTC](https://discuss.elastic.co/t/index-template-overwritten-with-default-setup-template-overwrite-false/223684/2 "2020-04-13T04:41:42Z")

</div>

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