Commit 9f77d3c7 by Jesse Zoldak Committed by GitHub

Merge pull request #4140 from edx/zoldak/splunk-configure-host-value

Enable configuration of splunk host value
parents b4c934e2 2db3e43d
......@@ -47,6 +47,8 @@ SPLUNKFORWARDER_SERVERS:
# entire fleet. #
###############################################################################
SPLUNKFORWARDER_HOST_VALUE: !!null
SPLUNKFORWARDER_LOG_ITEMS:
- source: '{{ COMMON_LOG_DIR }}/lms'
recursive: true
......
# {{ ansible_managed }}
{% if SPLUNKFORWARDER_HOST_VALUE is defined %}
[default]
host = {{ SPLUNKFORWARDER_HOST_VALUE }}
{% endif %}
{% for loggable in SPLUNKFORWARDER_LOG_ITEMS%}
[monitor://{{ loggable.source }}]
......
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