Getting Data In

Splunk search using csv file as whitelist for ip addresses

rchiii
New Member

Is there a way to use a file instead of entering ip's when wanting to exclude ranges of ip's from a search, such as NOT instead of NOT (1.1.1.* OR 1.2.1.* OR 1.1.2.3) I'm trying to exclude known good ip's from a search in order to see possible interesting traffic without having to type them into the search by just updating a file instead.

Tags (1)
0 Karma

mosman_splunk
Splunk Employee
Splunk Employee

you can list all your IP that you want to white lsit in CSV file then run your search againest that file

eg

tag=traffic NOT [|inputcsv rchiii_whitelist_IP.csv ]

good luck

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...