From 15c34ecdc18292faabde05c9689e227000ae09e8 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 1 Mar 2024 16:31:16 +0800 Subject: [PATCH] remove servlet service --- dev-upgrade/elastic/logstash-alert.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-upgrade/elastic/logstash-alert.yaml b/dev-upgrade/elastic/logstash-alert.yaml index 9c9d0ce..7447412 100644 --- a/dev-upgrade/elastic/logstash-alert.yaml +++ b/dev-upgrade/elastic/logstash-alert.yaml @@ -44,6 +44,9 @@ data: if [message] =~ "No sess token provided" { drop {} } + if [message] =~ "Servlet.service" { + drop {} + } mutate { split => { "[log][file][path]" => "/" } add_field => { "env" => "%{[log][file][path][3]}" }