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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

[Puzzles] Solve, Learn, Repeat: Unmerging HTML Tables

[Puzzles] Solve, Learn, Repeat: Unmerging HTML TablesFor a previous puzzle, I needed some sample data, and ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...