promtail-housekeep #11
|
@ -1,4 +1,4 @@
|
||||||
# Log kernel generated promtail log messages to file
|
# Log kernel generated `consul-template` log messages to file
|
||||||
:syslogtag,contains,"consul-template" /var/log/consul-template.log
|
:syslogtag,contains,"consul-template" /var/log/consul-template.log
|
||||||
|
|
||||||
# Uncomment the following to stop logging anything that matches the last rule.
|
# Uncomment the following to stop logging anything that matches the last rule.
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Grafana Promtail (Digdag)
|
|
||||||
Documentation=https://github.com/grafana/loki
|
|
||||||
After=network-online.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=root
|
|
||||||
Restart=always
|
|
||||||
ExecStart=/usr/local/bin/promtail --config.file=/etc/promtail/digdag.yaml
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
Loading…
Reference in New Issue