# Migrating from Filebeat 5.5.2 to 6.0.0

**URL:** https://discuss.elastic.co/t/migrating-from-filebeat-5-5-2-to-6-0-0/107968
**Category:** Beats
**Created:** [November 16, 2017, 3:12pm UTC](https://discuss.elastic.co/t/migrating-from-filebeat-5-5-2-to-6-0-0/107968 "2017-11-16T15:12:48Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [November 16, 2017, 8:38pm UTC](https://discuss.elastic.co/t/migrating-from-filebeat-5-5-2-to-6-0-0/107968/4 "2017-11-16T20:38:15Z")

</div>

Did you install the latest index template from winlogbeat 6.0.0 to Elasticsearch? Since you are using Logstash you have to do in manually because the Beat isn't directly connection to ES.

```auto
# Write the template to disk.
PS> .\winlogbeat.exe export template | Out-File -Encoding UTF8 winlogbeat.template.json

# Install it to ES.
PS > Invoke-RestMethod -Method Put -ContentType "application/json" -InFile winlogbeat.template.json -Uri http://elasticsearch:9200/_template/winlogbeat-6.0.0

```

And after you have installed the index template to ES check your Logstash config to make sure that it is using a version in the index name like shown [in these docs](https://www.elastic.co/guide/en/beats/libbeat/6.0/logstash-installation.html#logstash-setup).

```auto
output {
  elasticsearch {
    hosts => "localhost:9200"
    manage_template => false
    index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}" 
    document_type => "%{[@metadata][type]}" 
  }
}

```

---

_[View the full topic](https://discuss.elastic.co/t/migrating-from-filebeat-5-5-2-to-6-0-0/107968)._
