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
a1a02163
Commit
a1a02163
authored
Mar 03, 2015
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add splunk forwarder role to jenkins and configure props.conf
parent
9f23e93f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
playbooks/edx-east/jenkins_testeng_master.yml
+28
-0
playbooks/roles/splunkforwarder/templates/opt/splunkforwarder/etc/system/local/inputs.conf.j2
+6
-0
No files found.
playbooks/edx-east/jenkins_testeng_master.yml
View file @
a1a02163
...
...
@@ -9,8 +9,36 @@
vars
:
COMMON_DATA_DIR
:
"
/mnt"
COMMON_ENABLE_DATADOG
:
True
COMMON_ENABLE_SPLUNKFORWARDER
:
True
SPLUNKFORWARDER_LOG_ITEMS
:
-
source
:
'
/var/lib/jenkins/jobs/*/builds/.../junitResult.xml'
recursive
:
true
index
:
'
testeng'
sourcetype
:
junit
followSymlink
:
false
-
source
:
'
/var/lib/jenkins/jobs/*/builds/.../build.xml'
index
:
'
testeng'
recursive
:
true
sourcetype
:
build_result
followSymlink
:
false
initCrcLength
:
1024
-
source
:
'
/var/lib/jenkins/jobs/*/builds/.../log'
index
:
'
testeng'
recursive
:
true
sourcetype
:
build_log
followSymlink
:
false
initCrcLength
:
2048
roles
:
-
common
-
role
:
datadog
when
:
COMMON_ENABLE_DATADOG
-
jenkins_master
# run just the splunkforwarder role by using '--tags "splunkonly"'
# e.g. ansible-playbook jenkins_testeng_master.yml -i inventory.ini --tags "splunkonly" -vvvv
-
role
:
splunkforwarder
when
:
COMMON_ENABLE_SPLUNKFORWARDER
tags
:
splunkonly
sudo
:
True
playbooks/roles/splunkforwarder/templates/opt/splunkforwarder/etc/system/local/inputs.conf.j2
View file @
a1a02163
...
...
@@ -12,4 +12,10 @@ index = {{ loggable.index }}
{% if loggable._TCP_ROUTING is defined %}
_TCP_ROUTING = {{ loggable._TCP_ROUTING }}
{% endif %}
{% if loggable.followSymlink is defined %}
followSymlink = {{ loggable.followSymlink }}
{% endif %}
{% if loggable.initCrcLength is defined %}
initCrcLength = {{ loggable.initCrcLength }}
{% endif %}
{% endfor %}
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