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!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...