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!

Introducing Splunk Enterprise 9.2

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

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...