itamae/cookbooks/promtail/files/etc/rsyslog.d/30-promtail.conf
Kazuhiro MUSASHI e750ac0ce9 Set up promtail:
- Deploy `systemd` config file
- Deploy `promtail` basic config file
- Deploy `rsyslog` config file
- Deploy `logrotated` config file
2020-09-07 22:17:13 +09:00

8 lines
332 B
Plaintext

# Log kernel generated promtail log messages to file
:syslogtag,contains,"promtail" /var/log/promtail.log
# Uncomment the following to stop logging anything that matches the last rule.
# Doing this will stop logging kernel generated UFW log messages to the file
# normally containing kern.* messages (eg, /var/log/kern.log)
& stop