add logstash alert field [stack_trace]
parent
15c34ecdc1
commit
2a1649add7
|
@ -47,6 +47,9 @@ data:
|
||||||
if [message] =~ "Servlet.service" {
|
if [message] =~ "Servlet.service" {
|
||||||
drop {}
|
drop {}
|
||||||
}
|
}
|
||||||
|
if [message] =~ "no data hit with the given appCode" {
|
||||||
|
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