# 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:** 7

<div class="post-metadata">

### Author: ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)
#### Post date: [June 15, 2018, 1:16pm UTC](https://discuss.elastic.co/t/logstash-errors-after-upgrading-to-filebeat-6-3-0/135984/7 "2018-06-15T13:16:34Z")

</div>

The following should be enough to fix the situation.

```auto
mutate {
      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)._
