Splunk Search

How to use two lookups in a search but exclude values from one of them?

hyahmadi
Explorer

hello splunkers,
I need to exclude in my search, IP values in the second lookup file
| inputlookup file1_lookup.csv | search [|inputlookup file2csv.csv ]
How to resolve that?
Rq:field name= IP Address in the first lookup file
field name= dst in the second lookup file

thanks.

Tags (2)
0 Karma

OL
Communicator

Can you try this?

| inputlookup file1_lookup.csv | search [|inputlookup file2csv.csv | fields dst | rename dst AS "IP Address"]

Regards,
Olivier

0 Karma

hyahmadi
Explorer

Hello Olivier thanks for help,
but in my search I have to exclude values for "IP Address" in the second file.
I don't know if I can use the terme NOT to exclude values?

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

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 ...