Getting Data In

How to search events in two sources using timestamp

rahumadad
New Member

Hi Guys, Im wanted to search certain events that may happened during certain timestamps.

Example I have the timestamp and the speed of this vehicule in one source and in the other i have the oil temperature of this vehicule and also the timestamp, how can I want to search the temperature of the oil between 80-100 degrees?

is this possible?

Thanks,

0 Karma

HiroshiSatoh
Champion

You will get a time stamp of 80-100 degrees by sub search.

(your search speed log) 
   [search (your search temperature log) degrees>=80 degrees<=100 
         |stats earliest(_time) as earliest,latest(_time) as latest|eval latest=latest+1
         | format "(" "(" "" ")" "OR" ")"]

Be expanded
(your search speed log) earliest=xxxx latest=xxxx

Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...