# %{\[@metadata\]\[version\]} not being rendered

**URL:** https://discuss.elastic.co/t/metadata-version-not-being-rendered/109409
**Category:** Logstash
**Created:** [November 28, 2017, 2:10pm UTC](https://discuss.elastic.co/t/metadata-version-not-being-rendered/109409 "2017-11-28T14:10:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rj-reilly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rj-reilly/32/24568_2.png) [@rj-reilly](https://discuss.elastic.co/u/rj-reilly)
#### Post date: [November 28, 2017, 2:10pm UTC](https://discuss.elastic.co/t/metadata-version-not-being-rendered/109409/1 "2017-11-28T14:10:26Z")

</div>

Hi, Using logstash 6.0 and filebeat 6.0, I added the new filebeat version to the logstash output but i am getting an index named: filebeat-%{[@metadata][version]}-2017.11.28, I am using elasticsearch 5.6.4

```
my output is as follows:
output {
  elasticsearch {
   hosts => ["myhost:9200"]
    index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
  }
}

```

thanks !  
rob

---

<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: [December 26, 2017, 2:11pm UTC](https://discuss.elastic.co/t/metadata-version-not-being-rendered/109409/2 "2017-12-26T14:11:00Z")

</div>

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