All Apps and Add-ons

Create single value visualization for Ansible Monitoring App that adds up workflow playbooks execution time.

iclark
Engager

I've recently had the Ansible Monitoring App installed in our splunkcloud environment for forwarding our AWX logs to Splunk for better visualization. We utilize the Ansible Tower/AWX workflow functionality, which the Ansible to Splunk plugin doesn't seem to send to Splunk. I want to add all of the plays that make up said workflow to be able to add a single value visualization for how long the workflow took. I'm trying to figure out if it's possible to do the following:
1. Get the latest ansible_role="set.dynamic.variables" (this is the play that starts the workflow)
2. Get all of the events in between "set.dynamic.variables" and the latest "add.host.to.cmk" which ends the workflow

If this isn't possible, that's fine, currently running the below command while manually setting the date range and time.

Current Search:

`AnsibleData` session=* status=OK ansible_role="set.dynamic.variables" OR ansible_role="server.deployment" OR ansible_role="create.vm.from.template" OR ansible_role="post.scripts" OR ansible_role="deploy.all.win.updates" OR ansible_role="install" OR ansible_role="add.host.to.cmk" 
| stats earliest(_time) as start latest(_time) as end
| eval duration=end-start
| eval vmCreationTime=tostring(duration, "duration")
| table vmCreationTime
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...