Not able to pass value from filebeat to logstash

Hi experts,

Im new to elk and need your help here.
I m trying to pass a value from filebeat to logstash but been unsuccessful.

This is what I have mentioned in filebeat.yml
########filebeat.yml#########
output.logstash:

The Logstash hosts

hosts: ["localhost:5044"]
fields:
env: uat
################

#########logstash.conf#########
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "aia-mpv-%{env}-%{+YYYY.MM.dd}"}
}
########################

But in kibana I still see indices as
aia-mpv-%{env}-2020.03.03
Value is not getting replaced, please help.

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