This Splunk application is specifically designed to work with the Ansible Splunk Callback maintained by Deloitte. This Splunk application provides guided navigation for the monitoring and diagnostics of Ansible plays.
Below is an overview of how to get this Splunk application and the Ansible Splunk Callback working:
callback_whitelist = splunk
url = http://mysplunkinstance.example.com:8088/services/collector/event
authtoken = f23b1ad6-5965-4537-bf69-b1aa54B1aa88
Now when you run your ansible plays, detailed JSON formatted results will now be sent to Splunk.
Ansible => 2.5
With Ansible 2.4 the following errors occur:
callback set_options() got an unexpected keyword argument 'task_keys'
Please avoid using Ansible versions below 2.5
Ignoring Invalid SSL Certificates:
We are aware that there is currently no way to ignore invalid SSL certificates when using HTTPS on the Splunk HTTP Event Collector. Valid SSL certificates work fine and here is a link to using Lets Encrypt to get valid certificates. A whilst this outlines the process for Splunk Web the same process slightly modified works fine for the HTTP Event Collector.
Deloitte are a global Splunk specialist partner and we developed this application for internal use for our DevOps teams who use and develop Ansible extensively. Our Splunk specialists deploy all customer Splunk deployments using our Data Platform as a Service tool kit which is Ansible based and provides a CI/CD solution for deploying and managing Splunk at large scale.
If you would like to explore how we can enable Splunk and or Ansible solutions for your team please get in touch by emailing email@example.com
Updated for Splunk Certification Compliance
Updated menus for UI experience
Added feedback catcher
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.