Modify `promtail` config for `ssh`.
This commit is contained in:
parent
3b6bc203c1
commit
34d38f63e2
|
@ -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>.+)$'
|
||||
|
|
Loading…
Reference in New Issue