---
#
# edX Configuration
#
# github:     https://github.com/edx/configuration
# wiki:       https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license:    https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
##
# Vars for role splunk
# 

#
# vars are namespace with the module name.
#
splunk_role_name: 'splunk'

#
# OS packages
#

splunk_debian_pkgs:
  - gdebi

splunk_redhat_pkgs: []

SPLUNKFORWARDER_SERVER: 'localhost:9997'

SPLUNKFORWARDER_PACKAGE_LOCATION: !!null
SPLUNKFORWARDER_DEB: !!null
SPLUNKFORWARDER_PASSWORD: !!null

splunkforwarder_output_dir: '/opt/splunkforwarder/'

SPLUNKFORWARDER_LOG_ITEMS:
  - directory: '{{log_base_dir}}'
    recursive: true
    index: '{{ENV_TYPE}}-{{ENV_NAME}}'
    sourcetype: 'edx'
  - directory: '/var/log'
    recursive: true
    index: '{{ENV_TYPE}}-{{ENV_NAME}}'
    sourcetype: 'syslog'
  - directory: '{{log_base_dir}}/nginx'
    recursive: true
    index: '{{ENV_TYPE}}-{{ENV_NAME}}'
    sourcetype: 'nginx'

---
#
# edX Configuration
#
# github:     https://github.com/edx/configuration
# wiki:       https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license:    https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
##
# Vars for role splunk
# 

#
# vars are namespace with the module name.
#
splunk_role_name: 'splunk'

SPLUNKFORWARDER_SERVER: 'localhost:9997'

SPLUNKFORWARDER_PACKAGE_LOCATION: !!null
SPLUNKFORWARDER_DEB: !!null
SPLUNKFORWARDER_PASSWORD: !!null

SPLUNKFORWARDER_LOG_ITEMS:
  - directory: '{{log_base_dir}}'
    recursive: true
    index: '{{ENV_TYPE}}-{{ENV_NAME}}'
    sourcetype: 'edx'
  - directory: '/var/log'
    recursive: true
    index: '{{ENV_TYPE}}-{{ENV_NAME}}'
    sourcetype: 'syslog'
  - directory: '{{log_base_dir}}/nginx'
    recursive: true
    index: '{{ENV_TYPE}}-{{ENV_NAME}}'
    sourcetype: 'nginx'

#
# OS packages
#
splunk_debian_pkgs:
  - gdebi

splunk_redhat_pkgs: []

splunkforwarder_output_dir: '/opt/splunkforwarder/'

Move overridable defaults to the top of the file.
Move overridable defaults to the top of the file.
