07-06-2020, 12:29 PM
dla przykładu tak:
filter {
if [source]=="/var/log/messages" {
if [message] =~ /last message repeated [0-9]+ times/ {
drop { }
}
filter {
if [source]=="/var/log/messages" {
if [message] =~ /last message repeated [0-9]+ times/ {
drop { }
}