New in version 2.7.
The below requirements are needed on the local master node that executes this callback.
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
authtoken |
ini entries:
[callback_splunk] env:SPLUNK_AUTHTOKEN
|
Token to authenticate the connection to the Splunk HTTP collector
|
|
url |
ini entries:
[callback_splunk] env:SPLUNK_URL
|
URL to the Splunk HTTP collector source
|
examples: >
To enable, add this to your ansible.cfg file in the defaults block
[defaults]
callback_whitelist = splunk
Set the environment variable
export SPLUNK_URL=http://mysplunkinstance.datapaas.io:8088/services/collector/event
export SPLUNK_AUTHTOKEN=f23blad6-5965-4537-bf69-5b5a545blabla88
Set the ansible.cfg variable in the callback_splunk block
[callback_splunk]
url = http://mysplunkinstance.datapaas.io:8088/services/collector/event
authtoken = f23blad6-5965-4537-bf69-5b5a545blabla88
Hint
If you notice any issues in this documentation you can edit this document to improve it.