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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...