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!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...