Getting Data In

importing IP List

TucoRameriz
Explorer

Sorry in advance to the newbie question but, is there a way to import a list of IP addresses into splunk search query?

For example, I come across a couple of pieces of malware and identify the call back addresses which could number into the dozens or even hundreds. I would like to be able to import a list with these addresses into Splunk and run those across my Web Logs looking for any activity.

Thanks

Tags (1)

Ayn
Legend

This is a prime example of what you could use a subsearch for. http://docs.splunk.com/Documentation/Splunk/5.0.2/Tutorial/Useasubsearch

Given a lookup table (yourlookuptable) with a list of ip's (field ip), you could do

[| inputlookup yourlookuptable | field ip]

kristian_kolb
Ultra Champion

editing again.....

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...