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!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...