Splunk Search

How do I return values that unmatched column in Lookup table?

sabeqa
Engager

i am trying to search for urls that are not in my allowed list lookup csv , my csv file is named as url and has 1 column with a header called hostname, below is the search which gives a wrong output.

fgt_webfilter profile=* status=passthrough NOT [ inputlookup url ]

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try this.

`fgt_webfilter` profile=* status=passthrough NOT [  | inputlookup url | format ]
---
If this reply helps you, Karma would be appreciated.

sabeqa
Engager

now i am getting an output but includes some wrong results, (urls in the csv are still appearing)

0 Karma

harsmarvania57
Ultra Champion

Hi @sabeqa,

Try this one fgt_webfilter profile=* status=passthrough NOT [ | inputlookup url | format ]

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...