diff --git a/dev-upgrade/elastic/logstash.yml b/dev-upgrade/elastic/logstash.yml index 7b8dca3..9189cd5 100644 --- a/dev-upgrade/elastic/logstash.yml +++ b/dev-upgrade/elastic/logstash.yml @@ -18,7 +18,7 @@ data: } mutate { split => { "[log][file][path]" => "/" } - add_field => { "env" => "%{[log][file][path][2]}" } + add_field => { "env" => "%{[log][file][path][3]}" } } }