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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...