logstal filter field drop
parent
7519497f6f
commit
d17bbf7e18
|
@ -41,6 +41,9 @@ data:
|
||||||
if [message] =~ "exchange refresh token" {
|
if [message] =~ "exchange refresh token" {
|
||||||
drop {}
|
drop {}
|
||||||
}
|
}
|
||||||
|
if [message] =~ "No sess token provided" {
|
||||||
|
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]}" }
|
||||||
|
@ -147,4 +150,4 @@ spec:
|
||||||
targetPort: 5044
|
targetPort: 5044
|
||||||
selector:
|
selector:
|
||||||
app: logstash-alert
|
app: logstash-alert
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|
Loading…
Reference in New Issue