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.
Hint
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/plugins/callback/splunk.html