recover logstash alert field
parent
d46ac183af
commit
78d1ff3f14
|
@ -38,8 +38,9 @@ data:
|
|||
if [message] =~ "Unauthorized access" {
|
||||
drop {}
|
||||
}
|
||||
|
||||
|
||||
if [message] =~ "exchange refresh token" {
|
||||
drop {}
|
||||
}
|
||||
mutate {
|
||||
split => { "[log][file][path]" => "/" }
|
||||
add_field => { "env" => "%{[log][file][path][3]}" }
|
||||
|
|
Loading…
Reference in New Issue