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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...