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!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...