Commit ea7838f4 by Feanil Patel Committed by GitHub

Merge pull request #4033 from edx/feanil/improve_splunkforwarder

Ignore logfiles that end in digits by default.
parents 674b2922 595be925
......@@ -2,7 +2,7 @@
{% for loggable in SPLUNKFORWARDER_LOG_ITEMS%}
[monitor://{{ loggable.source }}]
blacklist = \.(gz)$
blacklist = ((\.(gz))|\d)$
{% if loggable.recursive | default(False) %}
{# There's a bug in which "recursive" must be unset for logs to be forwarded #}
{# See https://answers.splunk.com/answers/420901/splunk-not-matching-files-with-wildcard-in-monitor.html #}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment