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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...