c94b68ab5b
* Added remote logging for monitor * Legacy line * Tempaltes
12 lines
385 B
Django/Jinja
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
|