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

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

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