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!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...