Ignore `already banned` message.
This commit is contained in:
parent
3180a21533
commit
9bf98f1d20
|
@ -163,7 +163,7 @@ scrape_configs:
|
||||||
|
|
||||||
pipeline_stages:
|
pipeline_stages:
|
||||||
- match:
|
- match:
|
||||||
selector: '{job="fail2ban"}'
|
selector: '{job="fail2ban"} !~ "already banned"'
|
||||||
stages:
|
stages:
|
||||||
- regex:
|
- regex:
|
||||||
expression: '^(?P<timestamp>[0-9]+\-[0-9]+\-[0-9]+ [0-9]+:[0-9]+:[0-9]+),[0-9]+ [^:]+: (?P<level>[^ ]+)[^\[]+(?P<message>.+)$'
|
expression: '^(?P<timestamp>[0-9]+\-[0-9]+\-[0-9]+ [0-9]+:[0-9]+:[0-9]+),[0-9]+ [^:]+: (?P<level>[^ ]+)[^\[]+(?P<message>.+)$'
|
||||||
|
|
Loading…
Reference in New Issue