Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
979699d3
Commit
979699d3
authored
Aug 24, 2017
by
Stuart Young
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow custom blacklist rules for splunk forwarder
parent
7542cd25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
playbooks/edx-east/jenkins_testeng_master.yml
+1
-0
playbooks/roles/splunkforwarder/templates/opt/splunkforwarder/etc/system/local/inputs.conf.j2
+4
-0
No files found.
playbooks/edx-east/jenkins_testeng_master.yml
View file @
979699d3
...
...
@@ -35,6 +35,7 @@
sourcetype
:
build_log
followSymlink
:
false
crcSalt
:
'
<SOURCE>'
blacklist
:
'
(((\.(gz))|\d)$)|(.*seed.*)'
-
source
:
'
/var/lib/jenkins/jobs/*/builds/*/archive/test_root/log/timing.*.log'
index
:
'
testeng'
...
...
playbooks/roles/splunkforwarder/templates/opt/splunkforwarder/etc/system/local/inputs.conf.j2
View file @
979699d3
...
...
@@ -2,7 +2,11 @@
{% for loggable in SPLUNKFORWARDER_LOG_ITEMS%}
[monitor://{{ loggable.source }}]
{% if loggable.blacklist is defined %}
blacklist = {{ loggable.blacklist }}
{% else %}
blacklist = ((\.(gz))|\d)$
{% endif %}
{% 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 #}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment