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