# How to disable loading Metricbeat template in 6.x?

**URL:** <https://discuss.elastic.co/t/how-to-disable-loading-metricbeat-template-in-6-x/134044>\
**Category:** Beats\
**Created:** [May 31, 2018, 12:31pm UTC](https://discuss.elastic.co/t/how-to-disable-loading-metricbeat-template-in-6-x/134044 "2018-05-31T12:31:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimWard](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timward/32/19574_2.png) [@TimWard](https://discuss.elastic.co/u/TimWard)\
**Post date:** [May 31, 2018, 12:31pm UTC](https://discuss.elastic.co/t/how-to-disable-loading-metricbeat-template-in-6-x/134044/1 "2018-05-31T12:31:30Z")

</div>

According to

[https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-template.html](https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-template.html)

I need to set

setup.template.enabled: false

to stop Metricbeat loading its template (which interferes with my manually loaded one). But this doesn't appear to work:

metricbeat-6.2.4 [metricbeat-6.2.4-\*] 1

So what should I be doing please?

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [May 31, 2018, 10:04pm UTC](https://discuss.elastic.co/t/how-to-disable-loading-metricbeat-template-in-6-x/134044/2 "2018-05-31T22:04:51Z")

</div>

Hi @TimWard,

Could you please report your full config? What are the steps that you follow to deploy & test the expected result?

Best regards

---

<div class="post-metadata">

**Author:** ![TimWard](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timward/32/19574_2.png) [@TimWard](https://discuss.elastic.co/u/TimWard)\
**Post date:** [June 1, 2018, 10:48am UTC](https://discuss.elastic.co/t/how-to-disable-loading-metricbeat-template-in-6-x/134044/3 "2018-06-01T10:48:58Z")

</div>

> Could you please report your full config?

Good question - on looking more closely I discovered an indentation error, several screens of comments apart, and it works fine now.

---

<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:** [June 29, 2018, 12:57pm UTC](https://discuss.elastic.co/t/how-to-disable-loading-metricbeat-template-in-6-x/134044/4 "2018-06-29T12:57:11Z")

</div>

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