Change the severity of `nf_conntrack` message.

This commit is contained in:
Kazuhiro MUSASHI 2020-09-26 16:56:15 +09:00
parent 47c2f7784a
commit f1c09b8ae9
1 changed files with 11 additions and 1 deletions

View File

@ -282,11 +282,21 @@ scrape_configs:
pipeline_stages:
- match:
selector: '{job="systemd"} !~ "temperature"'
selector: '{job="systemd"} !~ "(temperature|nf_conntrack)"'
stages:
- drop:
expression: (CMD|UFW|session|TTY)
- match:
selector: '{job="systemd"} |~ "nf_conntrack"'
stages:
- template:
source: level
template: 'error'
- labels:
level:
- match:
selector: '{job="systemd"} |~ "temperature"'