Splunk Search

How to search for IP addresses from a .txt file to see if any of them have appeared in Splunk before?

simeidem
New Member

Hi,

I have a .txt-file with line separated IP addresses, and I want to know if any of those have appeared in Splunk before.

I could manually enter all the IP addresses in search with "OR" between, but that would literally take weeks..

What to do?

Thanks,
Simon

Tags (3)
0 Karma

jeffland
SplunkTrust
SplunkTrust

You could either index the file with splunk and reference it from there, or you could use a lookup. I would recommend you use a lookup, that way you can use the content of the file dynamically (i.e. update the info in it).

Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...