# Default Logstash 6 mapping template is deprecated

**URL:** <https://discuss.elastic.co/t/default-logstash-6-mapping-template-is-deprecated/121613>\
**Category:** Logstash\
**Created:** [February 27, 2018, 9:07am UTC](https://discuss.elastic.co/t/default-logstash-6-mapping-template-is-deprecated/121613 "2018-02-27T09:07:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![T3rm11](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@T3rm11](https://discuss.elastic.co/u/T3rm11)\
**Post date:** [February 27, 2018, 9:07am UTC](https://discuss.elastic.co/t/default-logstash-6-mapping-template-is-deprecated/121613/1 "2018-02-27T09:07:52Z")

</div>

I just upgraded to ELK 6 and updated my Logstash mapping template to the default one shipped with Logstash 6.

When I use this the Elasticsearch deprecation log show me this warning:

> [2018-02-27T09:40:46,871][WARN][o.e.d.i.m.MapperService] [_default_] mapping is deprecated since it is not useful anymore now that indexes cannot have more than one type

My question: Why is the new default Logstash mapping template using deprecated stuff?

---

<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:** [March 27, 2018, 9:08am UTC](https://discuss.elastic.co/t/default-logstash-6-mapping-template-is-deprecated/121613/2 "2018-03-27T09:08:36Z")

</div>

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