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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...