add logstash alert field [stack_trace]
parent
15c34ecdc1
commit
2a1649add7
|
@ -47,6 +47,9 @@ data:
|
|||
if [message] =~ "Servlet.service" {
|
||||
drop {}
|
||||
}
|
||||
if [message] =~ "no data hit with the given appCode" {
|
||||
drop {}
|
||||
}
|
||||
mutate {
|
||||
split => { "[log][file][path]" => "/" }
|
||||
add_field => { "env" => "%{[log][file][path][3]}" }
|
||||
|
|
Loading…
Reference in New Issue