Splunk Search

How to edit my search to do a correlation between two sourcetypes?

kestasm
Path Finder

Hello I am looking for a way to do a correlation and search between two sourcetypes. Here is what I came up with so far:

(sourcetype="sep:ids" AND signature="OS Attack: MSRPC Server Service RPC CVE-2008-4250 attack blocked") AND (sourcetype="sep:risk" AND signature="W32.Downadup.B") | table remote_host_ip, Computer_name

The goal is to filter all events from sep:ids sourcetype which corresponds to signature="OS Attack: MSRPC Server Service RPC CVE-2008-4250 attack blocked" indicating potential Conficker activity and then to double check that, I need to correlate those remote_host_ip values against the sep:risk sourcetype to make sure if those hosts were ever triggered by SEP with signature="W32.Downadup.B". I also need to output the remote_host_ip (from sep:ids) vs computer_name (from sep:risk) if there is a match.

0 Karma
1 Solution

cpetterborg
SplunkTrust
SplunkTrust

If you have an AND between your two parenthesized conditions, you won't get any data. Putting an OR instead of the AND will catch both sourcetypes in your search. I'm not sure what method you are using to correlate the two, but I suppose you could use a transaction command if you have a field that you can use to correlate the data from both events, or by time. I'm not sure enough about your data to be able to give you more than than.

If I don't understand them problem and my suggestion is not relevant, please provide more information about your data and how you can correlate the data.

View solution in original post

cpetterborg
SplunkTrust
SplunkTrust

If you have an AND between your two parenthesized conditions, you won't get any data. Putting an OR instead of the AND will catch both sourcetypes in your search. I'm not sure what method you are using to correlate the two, but I suppose you could use a transaction command if you have a field that you can use to correlate the data from both events, or by time. I'm not sure enough about your data to be able to give you more than than.

If I don't understand them problem and my suggestion is not relevant, please provide more information about your data and how you can correlate the data.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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 ...