Splunk Search

how search things which do not belong to inner join?

cyberportnoc
Explorer

would like find things which can not inner join, meaning left side and right side which no common things
how search things which do not belong to inner join?

Tags (1)
0 Karma
1 Solution

somesoni2
Revered Legend

Try SPlunk's | set diff command
http://docs.splunk.com/Documentation/Splunk/6.4.2/SearchReference/Set

| set diff [search yoursearch1 | table somefield] [search yoursearch2 | table somefield]

View solution in original post

0 Karma

somesoni2
Revered Legend

Try SPlunk's | set diff command
http://docs.splunk.com/Documentation/Splunk/6.4.2/SearchReference/Set

| set diff [search yoursearch1 | table somefield] [search yoursearch2 | table somefield]
0 Karma

cyberportnoc
Explorer

search is very slow when using last 4 hours, parsing job runs at least 3 minutes and still running

source=/var/log/remote/192.168.1.1.log set diff [search "Built inbound" NOT "8.8.8.8" NOT "8.8.4.4" | rex field=_raw "Outside:(?\d+.\d+.\d+.\d+){0,3}" | rex field=_raw "Inside:(?\d+.\d+.\d+.\d+){0,3}"] [search "Built outbound" outsideip=* | rex field=_raw "Outside:(?\d+.\d+.\d+.\d+){0,3}" | rex field=_raw "Inside:(?\d+.\d+.\d+.\d+){0,3}"] | mvexpand destinationip2 | table destinationip2, sourceip2 | stats values(sourceip2) as sourceip2, count by destinationip2 | sort by count by desc | head 10

0 Karma

inventsekar
SplunkTrust
SplunkTrust

maybe, can you give us some example data, so that it will be easy to understand your issue..

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...