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!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...