# Grok filter for IIS no working

**URL:** <https://discuss.elastic.co/t/grok-filter-for-iis-no-working/164157>\
**Category:** Logstash\
**Created:** [January 14, 2019, 2:41pm UTC](https://discuss.elastic.co/t/grok-filter-for-iis-no-working/164157 "2019-01-14T14:41:22Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 15, 2019, 4:41pm UTC](https://discuss.elastic.co/t/grok-filter-for-iis-no-working/164157/10 "2019-01-15T16:41:36Z")

</div>

type on a beat input is ignored if the incoming event already has a type field.

In filebeat, document\_type, which sets \_type, was removed in 6.0. Use a custom field as shown [here](https://discuss.elastic.co/t/document-type-is-being-ignored/109667/2?u=badger).

---

_[View the full topic](https://discuss.elastic.co/t/grok-filter-for-iis-no-working/164157)._
