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!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...