# Error loading topbeat.template.json

**URL:** <https://discuss.elastic.co/t/error-loading-topbeat-template-json/112526>\
**Category:** Beats\
**Created:** [December 20, 2017, 12:16am UTC](https://discuss.elastic.co/t/error-loading-topbeat-template-json/112526 "2017-12-20T00:16:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amer](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@Amer](https://discuss.elastic.co/u/Amer)\
**Post date:** [December 20, 2017, 12:16am UTC](https://discuss.elastic.co/t/error-loading-topbeat-template-json/112526/1 "2017-12-20T00:16:53Z")

</div>

Hi ,  
I'm using topbeat-1.3.1-x86\_64 to connect withES 6.0. I've tried the following to load the template mannualy to ES before start topbeat on RHEL 7.2 using the following :

curl -XPUT 'localhost:9200/\_template/topbeat' -H 'Content-Type: application/json' -d@'topbeat.template.json'

{"error":{"root\_cause":[{"type":"mapper\_parsing\_exception","reason":"Failed to parse mapping [_default_]: Enabling [\_all] is disabled in 6.0. As a replacement, you can use [copy\_to] on mapping fields to create your own catch all field."}],"type":"mapper\_parsing\_exception","reason":"Failed to parse mapping [_default_]: Enabling [\_all] is disabled in 6.0. As a replacement, you can use [copy\_to] on mapping fields to create your own catch all field.","caused\_by":{"type":"illegal\_argument\_exception","reason":"Enabling [\_all] is disabled in 6.0. As a replacement, you can use [copy\_to] on mapping fields to create your own catch all field."}},"status":400}.

please advice.  
Thanks,

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [December 21, 2017, 1:44am UTC](https://discuss.elastic.co/t/error-loading-topbeat-template-json/112526/2 "2017-12-21T01:44:15Z")

</div>

Can you migrate from Topbeat to Metricbeat? We stopped Topbeat development quite a while ago.

---

<div class="post-metadata">

**Author:** ![Amer](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@Amer](https://discuss.elastic.co/u/Amer)\
**Post date:** [December 21, 2017, 2:43pm UTC](https://discuss.elastic.co/t/error-loading-topbeat-template-json/112526/3 "2017-12-21T14:43:16Z")

</div>

Thanks Andrew. I migrated yesterday to Metricbeat . it's working as expected so far.

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:** [January 10, 2018, 12:16am UTC](https://discuss.elastic.co/t/error-loading-topbeat-template-json/112526/4 "2018-01-10T00:16:54Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
