# Can't push filebeat 6.5.3 index template to Elasticsearch

**URL:** <https://discuss.elastic.co/t/cant-push-filebeat-6-5-3-index-template-to-elasticsearch/181512>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 17, 2019, 5:24am UTC](https://discuss.elastic.co/t/cant-push-filebeat-6-5-3-index-template-to-elasticsearch/181512 "2019-05-17T05:24:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ganchu](https://avatars.discourse-cdn.com/v4/letter/g/ecb155/32.png) [@ganchu](https://discuss.elastic.co/u/ganchu)\
**Post date:** [May 17, 2019, 5:24am UTC](https://discuss.elastic.co/t/cant-push-filebeat-6-5-3-index-template-to-elasticsearch/181512/1 "2019-05-17T05:24:18Z")

</div>

I trying Bro logs to logstash using filebeat-6.5.3. So I configured using [[https://github.com/mellow-hype/bro-stash](https://github.com/mellow-hype/bro-stash)]([http://this](http://this) config) and pushing template to elasticsearch  
`curl -XPUT 'http://localhost:9200/_template/filebeat?pretty' -d@filebeat-index-template.json -H 'Content-Type: application/json'`.  
But got this error.

`{ "error" : { "root_cause" : [{ "type" : "mapper_parsing_exception", "reason" : "No handler for type [string] declared on field [message]" } ], "type" : "mapper_parsing_exception", "reason" : "Failed to parse mapping [doc]: No handler for type [string] declared on field [message]", "caused_by" : { "type" : "mapper_parsing_exception", "reason" : "No handler for type [string] declared on field [message]" } }, "status" : 400 }`

---

<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 14, 2019, 5:24am UTC](https://discuss.elastic.co/t/cant-push-filebeat-6-5-3-index-template-to-elasticsearch/181512/2 "2019-06-14T05:24:36Z")

</div>

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