Is there any way to use the results of a search on one log set to search another other than copying the data into a new search?
I’m trying to monitor traffic for a set of devices. They’re all made by the same manufacturer so easiest way for me to find all of them is by the vendor OUI. Is there an easy way to take the results of the Host To IP Observations search and use them in a Network Flow search? As far as I can tell there’s no nested search functionality and I’ve tried linking the two log sets using the == operator (i.e. ip==source_address) but that just comes back with no results.
@btyler unfortunately what you are chasing after isn’t a current feature of log search or leql, and using the comparison operator only applies within the same log event, such as source_address==source_asset_address or something. Where the single log would contain both keys.
to confirm my understanding - would it be to filter process start events by hosts that have a specific event code? rethinking my comment about select, a groupby might be best here to rule out duplicates.
Something like where(“event_id” = “3” ) groupby(“r7_context.asset.rrn”) limit(100)
then searching that list of asset rnns within the process starts?
where(“r7_context.asset.rrn” IN [asset_list_for_event_code_3]) ?
Hmm - That is something you can do? Is there an article you can point me to?
Didn’t realize you could run a second query based on those results
For the time being I was simply using a dashboard, but I hope R7 will develop a feature to allow cross log bucket search. Seems other SIEMS have the capability
Sorry for confusion - i was describing a two step process that involves some work on caller to parse the results from first query (likely to add into a variable), then execute the second query.
Gotcha.
To give full context…
I’m trying to get a better picture of what is executing rundll32 that is reaching out to the internet.
Which requires process.start events plus Sysmon event 3. Running two queries and comparing PIDs/R7 RNN between the two buckets manually