Splunk Search

difference between the current duration and avg duration

splunkpoornima
Communicator

hi

i have one table with different task and its duration as,

TaskAction duration

task1 12.2

task 2 1.90

task1 2.22

using the stats command i found the average duration for the each task ,i want to append those average to the above table as ..
my result sholud be

Taskaction duration avg(duration)

task1 12.2 16

task2 1.90 2.97

task1 2.22 16

Tags (1)
0 Karma

Ayn
Legend
... | eventstats avg(duration) as avgdur by Taskaction | table Taskaction duration avgdur
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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