# Logstash errors after upgrading to filebeat-6.3.0

**URL:** https://discuss.elastic.co/t/logstash-errors-after-upgrading-to-filebeat-6-3-0/135984
**Category:** Beats
**Tags:** filebeat
**Created:** [June 14, 2018, 6:51pm UTC](https://discuss.elastic.co/t/logstash-errors-after-upgrading-to-filebeat-6-3-0/135984 "2018-06-14T18:51:00Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![nxhack](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nxhack/32/3939_2.png) [@nxhack](https://discuss.elastic.co/u/nxhack)
#### Post date: [June 15, 2018, 9:22am UTC](https://discuss.elastic.co/t/logstash-errors-after-upgrading-to-filebeat-6-3-0/135984/6 "2018-06-15T09:22:46Z")

</div>

In order to avoid it on the LS side

```auto
  # Remove host metadata                                                                                      
    mutate {
      remove_field => ["[host][name]" ]
      remove_field => ["[host][id]" ]
      remove_field => ["[host][architecture]" ]
      remove_field => ["[host][os][platform]" ]
      remove_field => ["[host][os][version]" ]
      remove_field => ["[host][os][family]" ]
      remove_field => ["[host][ip]" ]
      remove_field => ["[host][mac]" ]
      remove_field => ["[host][os]" ]
      remove_field => ["[host]" ]
    }
    mutate {
      add_field => {
    	"host" => "%{[beat][hostname]}"
      }
    }

```

---

_[View the full topic](https://discuss.elastic.co/t/logstash-errors-after-upgrading-to-filebeat-6-3-0/135984)._
