From c1ba5c99dee78185a3ab7acdf9d58a88029182ef Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Mon, 5 Mar 2018 09:04:49 +0100 Subject: [PATCH] Allow to ignore certain log files --- templates/td-agent.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/td-agent.conf b/templates/td-agent.conf index ca18442..d63331a 100644 --- a/templates/td-agent.conf +++ b/templates/td-agent.conf @@ -59,7 +59,7 @@ <source> @type tail path /var/log/*.log - exclude_path ["/var/log/fail2ban.log"] + exclude_path ["/var/log/fail2ban.log"{% for path in fluentd_exclude_path|default([]) %}, "{{ path }}"{% endfor %}] format syslog pos_file /var/log/td-agent/general.log.pos tag general.* -- GitLab