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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...