ansible-role-rsyslog/templates/old-rsyslog-logstash.conf.j2

14 lines
305 B
Plaintext
Raw Normal View History

2020-07-18 15:27:35 +02:00
$ModLoad imfile
{% for log in rsys_logfiles %}
$InputFileName {{ log.logfile }}
$InputFileTag {{ log.log_tag }}
$InputFileStateFile {{ log.log_state_file }}
$InputRunFileMonitor
{% endfor %}
# Send all to the logstash server
*.* @@{{ rsys_logstash_collector_host }}:{{ rsys_logstash_collector_port }}