Splunk Dev

How to display location for IP address which falls into Ip range

madhp
New Member

Our logs contain IP address of the User and we have file which has list of IP range and corresponding location.

Kindly help with query which checks the IP range , the Ip address from log fall into and displays the corresponding location

Tags (1)
0 Karma

skoelpin
SplunkTrust
SplunkTrust

You can use cidrmatch to accomplish this or look over this answer below

https://answers.splunk.com/answers/305211/how-to-match-an-ip-address-from-a-lookup-table-of.html

0 Karma
Get Updates on the Splunk Community!

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

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