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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...