Splunk Search

How to find the daily average of the time difference between the concurrence of one line and a previous line?

mshea
New Member

Hi,

I have a very simple line of trace which indicates the end of a timer that runs at the completion of an important process.

I would like a report that shows what the daily average of the time between the occurrence of this line and the previous run.

Enter function tmr_Elapsed

How would I accomplish this using splunk?

Thanks,

Mike

Tags (3)
0 Karma

jensonthottian
Contributor

Use transaction command as you have clear indication of events corresponding to start and stop.

| transaction processID(--unique ID for your events) startswith="started" endswith="completed"

0 Karma

somesoni2
Revered Legend

What all fields are available in your data? What all fields your expect in the output?

Get Updates on the Splunk Community!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...