Dashboards & Visualizations

splunk maps plotting using IP address

sushmitha_mj
Communicator

Can maps be plotted using IP address instead of coordinates?
How can I use the IP address to plot a location in a map?

0 Karma
1 Solution

aljohnson_splun
Splunk Employee
Splunk Employee

As Krish3 mentioned, you're going to want to use iplocation most likely, and after that, geostats, e.g.:

... | iplocation clientip | geostats count by Country

View solution in original post

mporath_splunk
Splunk Employee
Splunk Employee

Above answer is the preferred approach for 6.2 and below.

The new Splunk 6.3 introduced Choropleth Maps as a new visualization type. The new release ships with a geospatial lookup that contains all countries of the world as polygons to show on a map.

Find more information on Choropleth Maps in the Splunk Docs for 6.3.

bworrellZP
Communicator

I downvoted this post because did not give an example of how to create a choropleth map based on the original posters question

0 Karma

simon_lavigne
Path Finder

I downvoted this post because no attempt to answer the original posters question.

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

As Krish3 mentioned, you're going to want to use iplocation most likely, and after that, geostats, e.g.:

... | iplocation clientip | geostats count by Country

krish3
Contributor

Yes you can try using iplocation command.

your search query |iplocation IPaddress_fieldname

For more details go through the search reference manual here.

Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...