# Filter out beat.\*

**URL:** <https://discuss.elastic.co/t/filter-out-beat/172868>\
**Category:** Logstash\
**Created:** [March 18, 2019, 9:27pm UTC](https://discuss.elastic.co/t/filter-out-beat/172868 "2019-03-18T21:27:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![teamg](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@teamg](https://discuss.elastic.co/u/teamg)\
**Post date:** [March 18, 2019, 9:27pm UTC](https://discuss.elastic.co/t/filter-out-beat/172868/1 "2019-03-18T21:27:53Z")

</div>

I have no use for the beat.hostname, beat.name or beat.version fields and would like to filter them out. This filter does not work:

> # cat /etc/logstash/conf.d/input.conf
> 
> > filter {  
> > mutate { remove\_field =\> ["beat.name", "beat.version", "beat.hostname"] }  
> > }

Am I missing something?

---

<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:** [March 18, 2019, 10:14pm UTC](https://discuss.elastic.co/t/filter-out-beat/172868/2 "2019-03-18T22:14:51Z")

</div>

```
mutate { remove_field => ["[beat][name]", "[beat][version]", "[beat][hostname]" ] }
```

---

<div class="post-metadata">

**Author:** ![teamg](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@teamg](https://discuss.elastic.co/u/teamg)\
**Post date:** [March 18, 2019, 11:03pm UTC](https://discuss.elastic.co/t/filter-out-beat/172868/3 "2019-03-18T23:03:25Z")

</div>

Thank you @Badger. That fixed my filter. Appreciate your time and expertise.

---

<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:** [April 15, 2019, 11:03pm UTC](https://discuss.elastic.co/t/filter-out-beat/172868/4 "2019-04-15T23:03:26Z")

</div>

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