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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...