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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...