# Setup.template.enabled: false. not work for disable default mapping

**URL:** <https://discuss.elastic.co/t/setup-template-enabled-false-not-work-for-disable-default-mapping/309720>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 15, 2022, 8:16am UTC](https://discuss.elastic.co/t/setup-template-enabled-false-not-work-for-disable-default-mapping/309720 "2022-07-15T08:16:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sinbargit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sinbargit/32/108343_2.png) [@sinbargit](https://discuss.elastic.co/u/sinbargit)\
**Post date:** [July 15, 2022, 8:16am UTC](https://discuss.elastic.co/t/setup-template-enabled-false-not-work-for-disable-default-mapping/309720/1 "2022-07-15T08:16:08Z")

</div>

filebeat version 7.1.1.  
I set

` setup.template.enabled: false.`

but there are still other fields like network.\* in my index. And after I set my own template, the template is used, but still certain fields in my index.

Just set "`setup.template.enabled: false.` ":

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8b0f5b18810234bd3f55d413e89f84b5c6afb1f3.png)  
After set

```auto
setup.ilm.enabled: false
setup.template.name: "web"
setup.template.fields: "fields.yml"
setup.template.pattern: "nginx*"
setup.template.enable: false

```

and I set fields.yml to empty.  
The result still like before.  
That is too many fields, make nonsense

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/e/4e6472ba336fd63b33300c3c4a3bd86c775340a5.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 19, 2022, 2:08am UTC](https://discuss.elastic.co/t/setup-template-enabled-false-not-work-for-disable-default-mapping/309720/2 "2022-07-19T02:08:40Z")

</div>

Welcome to our community! 😃

> [@sinbargit](#):
>
> filebeat version 7.1.1.

This is no longer supported and is [EOL](https://www.elastic.co/support/eol). Please upgrade.

What version of Elasticsearch are you using?

---

<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 16, 2022, 4:09am UTC](https://discuss.elastic.co/t/setup-template-enabled-false-not-work-for-disable-default-mapping/309720/3 "2022-08-16T04:09:21Z")

</div>

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