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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...