Security

ISP of blocked IP address

ephrem3232
Explorer

Splunk Query for adding a column for ISP of blocked IP address? 

 

Thank you,

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust
I understand you want to map an IP address to the Internet Service Provider that owns that address. Is that correct? If so, do you have such a mapping available in your Splunk system? Do you have access to a service that can perform such a mapping?
---
If this reply helps you, Karma would be appreciated.
0 Karma

ephrem3232
Explorer

Yes, I want to find the organization/ ISP of the IP addresses I have on my table. Yes I can create a mapping on my splunk server.

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust
So you have the data you need. What is the problem you are trying to solve?
---
If this reply helps you, Karma would be appreciated.
0 Karma

ephrem3232
Explorer

I'm trying to include in my query of IP address that I have listed on a table to also display the ISP/ Organization  of the IP addresses. 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps the easiest way to do that is by using a lookup table.  You will need to put your ISP mapping data into a CSV file so it looks something like this.

Address, ISP
1.2.0.0/16, xyz.net
2.3.0.0/16, wxy.net

Create a lookup definition (Settings->Lookups->Lookup Definitions) that references this file.  In the "Match type" field enter "CIDR(Address)".

In your search query, add the lookup command to map address to ISP.

<your search> | lookup ISPs address as ip_address OUTPUT ISP
| table ip_address, ISP
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...