logstal filter field drop
parent
7519497f6f
commit
d17bbf7e18
|
@ -41,6 +41,9 @@ data:
|
|||
if [message] =~ "exchange refresh token" {
|
||||
drop {}
|
||||
}
|
||||
if [message] =~ "No sess token provided" {
|
||||
drop {}
|
||||
}
|
||||
mutate {
|
||||
split => { "[log][file][path]" => "/" }
|
||||
add_field => { "env" => "%{[log][file][path][3]}" }
|
||||
|
@ -147,4 +150,4 @@ spec:
|
|||
targetPort: 5044
|
||||
selector:
|
||||
app: logstash-alert
|
||||
type: ClusterIP
|
||||
type: ClusterIP
|
||||
|
|
Loading…
Reference in New Issue