Merge branch 'ignore-already-banned-message' of kazu634/itamae into master

This commit is contained in:
Kazuhiro MUSASHI 2020-09-26 17:08:57 +09:00 committed by Gitea
commit 4ca2676d47
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ scrape_configs:
pipeline_stages:
- match:
selector: '{job="fail2ban"}'
selector: '{job="fail2ban"} !~ "already banned"'
stages:
- regex:
expression: '^(?P<timestamp>[0-9]+\-[0-9]+\-[0-9]+ [0-9]+:[0-9]+:[0-9]+),[0-9]+ [^:]+: (?P<level>[^ ]+)[^\[]+(?P<message>.+)$'