update logstash

main
ycz008 2023-09-27 15:33:09 +08:00
parent a884fd5752
commit 95bc02587b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ data:
}
mutate {
split => { "[log][file][path]" => "/" }
add_field => { "env" => "%{[log][file][path][2]}" }
add_field => { "env" => "%{[log][file][path][3]}" }
}
}