# Filebeat v6 and elasticsearch v6

**URL:** <https://discuss.elastic.co/t/filebeat-v6-and-elasticsearch-v6/107925>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 16, 2017, 11:52am UTC](https://discuss.elastic.co/t/filebeat-v6-and-elasticsearch-v6/107925 "2017-11-16T11:52:59Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![nsteinmetz](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nsteinmetz](https://discuss.elastic.co/u/nsteinmetz)\
**Post date:** [December 5, 2017, 3:54pm UTC](https://discuss.elastic.co/t/filebeat-v6-and-elasticsearch-v6/107925/7 "2017-12-05T15:54:27Z")

</div>

Seems a better option is to have a dedicated template for filebeat 6.0.0 to avoid compatibility issues between 2 différent versions.

> [@nsteinmetz](#):
>
> curl -XPUT -H 'Content-Type: application/json' [http://localhost:9200/\_template/filebeat-6.0.0](http://localhost:9200/_template/filebeat-6.0.0) -d@filebeat.template-es6x.json

And then voilà 🙂

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-v6-and-elasticsearch-v6/107925)._
