update logstash filter
parent
a0905234ae
commit
f5df8aa922
|
@ -11,6 +11,10 @@ data:
|
|||
}
|
||||
|
||||
filter {
|
||||
date {
|
||||
match => [ "start_time", "dd/MMM/yyyy:HH:mm:ss Z" ]
|
||||
target => "@timestamp"
|
||||
}
|
||||
mutate {
|
||||
add_field => { "env" => "%{[tags][0]}" }
|
||||
remove_field => [ "tags" ]
|
||||
|
|
Loading…
Reference in New Issue