Modify `promtail` config for `ssh`.

This commit is contained in:
Kazuhiro MUSASHI 2020-09-22 00:54:01 +09:00
parent 3b6bc203c1
commit 34d38f63e2
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ scrape_configs:
stages:
- drop:
expression: (CRON|sudo)
expression: (CRON|sudo|session)
- regex:
expression: '^(?P<timestamp>\w+ +[0-9]+ [0-9]+:[0-9]+:[0-9]+) [^:]+: (?P<message>.+)$'