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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...