# Logstash support for composable templates in elasticsearch output

**URL:** <https://discuss.elastic.co/t/logstash-support-for-composable-templates-in-elasticsearch-output/255137>\
**Category:** Logstash\
**Created:** [November 11, 2020, 10:34pm UTC](https://discuss.elastic.co/t/logstash-support-for-composable-templates-in-elasticsearch-output/255137 "2020-11-11T22:34:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phospodka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phospodka/32/78857_2.png) [@phospodka](https://discuss.elastic.co/u/phospodka)\
**Post date:** [November 11, 2020, 10:34pm UTC](https://discuss.elastic.co/t/logstash-support-for-composable-templates-in-elasticsearch-output/255137/1 "2020-11-11T22:34:57Z")

</div>

I am trying to upgrade versions of ELK and I have noticed that templates have changed. There is a [legacy](https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates-v1.html) way and a new [composable](https://www.elastic.co/guide/en/elasticsearch/reference/master/index-templates.html) way. I currently have logstash supply custom templates for different indices. However, logstash appears to use the legacy way, which is deprecated.

Is it on the roadmap to support the new composable index templates? I would like to use them, as they do make my mapping life easier. We are heavy docker users, and I looked to see if elasticsearch could load them at first start as well, but Elastic has [rejected](https://github.com/elastic/elasticsearch-docker/issues/134) that for unconvincing reasons. So it would be nice to have some a way to support loading the different component and index templates in logstash.

---

<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:** [December 9, 2020, 10:35pm UTC](https://discuss.elastic.co/t/logstash-support-for-composable-templates-in-elasticsearch-output/255137/2 "2020-12-09T22:35:08Z")

</div>

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