Splunk Search

How to create a lookup subsearch with NOT IN

ub_ik
Explorer

I am facing following challenge. I have a lookup table myids.csv with ID's in it:

ID
1
2
3

I have and index also with IDs in it (less than in the lookup):

ID
1
2

I am lookup for a way to only show the ID from the lookup that is not present in the index.

ID
3

Any suggestions?

 

 

Labels (2)
Tags (1)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

The usual - append two sets, count, find the ones that have too few occurrences.

https://www.duanewaddle.com/proving-a-negative/

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust

The usual - append two sets, count, find the ones that have too few occurrences.

https://www.duanewaddle.com/proving-a-negative/

0 Karma

ub_ik
Explorer

perfect, thx a lot.

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...