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