# Type: \_doc why is it still there

**URL:** <https://discuss.elastic.co/t/type-doc-why-is-it-still-there/324033>\
**Category:** Elasticsearch\
**Created:** [January 26, 2023, 3:21pm UTC](https://discuss.elastic.co/t/type-doc-why-is-it-still-there/324033 "2023-01-26T15:21:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [January 26, 2023, 3:21pm UTC](https://discuss.elastic.co/t/type-doc-why-is-it-still-there/324033/1 "2023-01-26T15:21:22Z")

</div>

I thought type = \_doc is deprecated. why is it still here and how do I remove it?

This is metricbeat 8.5.3 and elastic also 8.5.3 but it comes with type =\> \_doc ( is this correct )

```auto
"@metadata" => {
        "target_index" => "metricbeat-sys-8.5.3",
             "version" => "8.5.3",
                "type" => "_doc",
               "input" => {
            "beats" => {
                "host" => {
                    "ip" => "10.166.64.199"
                }
            }
        },

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 31, 2023, 12:35am UTC](https://discuss.elastic.co/t/type-doc-why-is-it-still-there/324033/2 "2023-01-31T00:35:37Z")

</div>

It's deprecated and will be removed in 9.0, which means 8.X still has it.

---

<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:** [February 28, 2023, 12:35am UTC](https://discuss.elastic.co/t/type-doc-why-is-it-still-there/324033/3 "2023-02-28T00:35:38Z")

</div>

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