# Filebeat set default document\_type globally for all propectors?

**URL:** <https://discuss.elastic.co/t/filebeat-set-default-document-type-globally-for-all-propectors/62931>\
**Category:** Beats\
**Created:** [October 13, 2016, 11:56am UTC](https://discuss.elastic.co/t/filebeat-set-default-document-type-globally-for-all-propectors/62931 "2016-10-13T11:56:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![agonzalez](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Post date:** [October 13, 2016, 11:56am UTC](https://discuss.elastic.co/t/filebeat-set-default-document-type-globally-for-all-propectors/62931/1 "2016-10-13T11:56:37Z")

</div>

I have more than 40 prospector in my filebeat.yml by default document\_type is "log". Is there anyway to change default type to something else whithout having to include document\_type in each one of my prospectors?

---

<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:** [October 15, 2016, 6:16am UTC](https://discuss.elastic.co/t/filebeat-set-default-document-type-globally-for-all-propectors/62931/2 "2016-10-15T06:16:08Z")

</div>

The easy way would be to push things through LS and do it there.

---

<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:** [November 3, 2016, 11:56am UTC](https://discuss.elastic.co/t/filebeat-set-default-document-type-globally-for-all-propectors/62931/3 "2016-11-03T11:56:39Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
