# Doc vs \_doc again

**URL:** <https://discuss.elastic.co/t/doc-vs-doc-again/226417>\
**Category:** Elasticsearch\
**Created:** [April 3, 2020, 2:52pm UTC](https://discuss.elastic.co/t/doc-vs-doc-again/226417 "2020-04-03T14:52:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OffColour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/offcolour/32/57122_2.png) [@OffColour](https://discuss.elastic.co/u/OffColour)\
**Post date:** [April 3, 2020, 2:52pm UTC](https://discuss.elastic.co/t/doc-vs-doc-again/226417/1 "2020-04-03T14:52:29Z")

</div>

Hi,

Can we have a single page put together explaining best practice to upgrade to v7.0 with regard to document\_type and "doc" and "\_doc" please? I don't need an explanation of why this is being done as that's already been covered nicely.  
There are numerous posts and pages with inconsistent information as well as beats, logstash, elasticsearch also seemingly inconsistent on this.

So my main questions would be: If "\_doc" is now the standard, which version of beats (if any) and/or logstash starts supplying this value rather than "doc"?  
As is stands I'm setting it in logstash to \_doc just so it's consistent when getting to Elastic.

Or do I just have to upgrade to 7 and cross my fingers that nothing breaks?

---

<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:** [May 1, 2020, 2:52pm UTC](https://discuss.elastic.co/t/doc-vs-doc-again/226417/2 "2020-05-01T14:52:34Z")

</div>

Closed on May 1, 2020, 2:52pm UTC

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