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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...