Splunk Search

how to calculate duration between events

james_n
Path Finder

Hi All,

i have a events as mentioned below.

02/04/2019 19:58:01 this is from A4: message from something
02/04/2019 19:31:01 this is from A3: message from something
02/04/2019 19:22:01 this is from A2: message from something
02/04/2019 19:20:01 this is from A1: message from something

i would like to calculate time difference/duration between events like A1 to A2, A2 to A3, A3 to A4 and etc..could you please help on this.

0 Karma

adonio
Ultra Champion

are the events always follow one another? meaning, calculate duration between consecutive events?
any common field and or value/s to work with?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...