Getting Data In

How to filter results between lookup and the results of the query?

bollam
Path Finder

Hello,

I have a lookup file which contains field and it’s values as follow.

Country location
India Andhra Pradesh
Himachal Pradesh
Madhya Pradesh
USA San Fransisco
San Andrea
Illinois
China Beijing
Jiangsu
Anhui

I have a query which gives the results as follow.

India Andhra Pradesh
India Madhya Pradesh
USA San Fransisco
China Beijing
China Anhui

I would like to filter out the one’s which are missing in the results and present in the lookup file.

Expected output:

India Himachal Pradesh
USA San Andrea
USA Illinois
China Anhui

Tags (1)
0 Karma

starcher
Influencer

Review these slides for the part about sentinel lookups
https://conf.splunk.com/session/2015/conf2015-LookupTalk.pdf

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