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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...