Splunk Search

How to compare timestamps? I want to compare timestamps of two events and determine which happened first?

sridhar2901
New Member

I want to compare two values of _time field and tell which event occurred first.

Tags (1)
0 Karma

ansif
Motivator

Convert 2 fields to epoch time then do a comparison using where command to list only events which occurred first.

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...