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
Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...