# ES does not push logs to customized \_type . it push logs for \_doc

**URL:** <https://discuss.elastic.co/t/es-does-not-push-logs-to-customized-type-it-push-logs-for-doc/272320>\
**Category:** Elasticsearch\
**Created:** [May 6, 2021, 4:11pm UTC](https://discuss.elastic.co/t/es-does-not-push-logs-to-customized-type-it-push-logs-for-doc/272320 "2021-05-06T16:11:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhiraj](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@Dhiraj](https://discuss.elastic.co/u/Dhiraj)\
**Post date:** [May 6, 2021, 4:11pm UTC](https://discuss.elastic.co/t/es-does-not-push-logs-to-customized-type-it-push-logs-for-doc/272320/1 "2021-05-06T16:11:47Z")

</div>

we have lots of indexes. some have "\_type" : "logs" & some have "\_type" : "log event" . It pushes logs every month after creating an index with the required \_type. but suddenly it was stopped pushing logs to customized \_type and starts push logs using "\_type":"\_doc" .

---

<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:** [May 10, 2021, 12:39am UTC](https://discuss.elastic.co/t/es-does-not-push-logs-to-customized-type-it-push-logs-for-doc/272320/2 "2021-05-10T00:39:34Z")

</div>

Welcome to our community! 😃

You shouldn't be using custom `_types` like that as types are disappearing in 8.0. Please move those to a different field and then use the default `_doc`.

---

<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:** [June 7, 2021, 12:40am UTC](https://discuss.elastic.co/t/es-does-not-push-logs-to-customized-type-it-push-logs-for-doc/272320/3 "2021-06-07T00:40:15Z")

</div>

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