tokenbridge/deployment/roles/monitor/templates/33-monitor-docker.conf.j2
Przemyslaw Rzad c94b68ab5b
Monitor remote logging (#162)
* Added remote logging for monitor

* Legacy line

* Tempaltes
2019-07-26 10:51:39 +02:00

12 lines
385 B
Django/Jinja

$FileCreateMode 0644
template(name="DockerLogFileName_Monitor" type="list") {
constant(value="/var/log/docker/")
property(name="syslogtag" securepath="replace" regex.type="ERE" regex.submatch="1" regex.expression="monitor_(.*)\\/[a-zA-Z0-9]+\\[")
constant(value="/docker.log")
}
if $programname startswith 'monitor_' then \
?DockerLogFileName_Monitor
$FileCreateMode 0600