rsyslog.module.conf.j2
501 Bytes
{% for rsyslog_file in rsyslog_files %}
{% if rsyslog_module in docker_modules %}
$InputFileName /var/lib/docker/applog/{{rsyslog_module}}/{{ rsyslog_file }}.log
{% else %}
$InputFileName /Data/logs/{{rsyslog_module}}/{{ rsyslog_file }}.log
{% endif %}
$InputFileTag {{ rsyslog_module }},{{ rsyslog_file }}
$InputFileSeverity info
$InputFileStateFile state_{{ rsyslog_module }}_{{ rsyslog_file }}
$InputFilePersistStateInterval 25000
$InputFileFacility local5
$InputRunFileMonitor
{% endfor %}