Getting Data In

How to geo map participants IP addresses

splunkuseradmin
Path Finder

Hey all,

So, I need a geo map: locations (IP address) using ip address and when I try to use
"........| iplocation IPAddress" then no Country or City fields appear.
The data is getting extracted in a .CSV using a python script and .CSV file has only above mentioned fields.
So my question is:
Do I need to have country and city fields also in .csv or we can obtain locations just using ipaddress?

thanks

1 Solution

VatsalJagani
SplunkTrust
SplunkTrust

Hello @splunkuseradmin,

This query should work. If not please check field name and ip-address values once.

| iplocation IPAddress
| geostats latfield=lat longfield=lon count

Hope this helps!!!

View solution in original post

renjith_nair
Legend

@splunkuseradmin,

Try this and select cluster map as visualization

your current search | iplocation IPAddress|geostats latfield=lat longfield=lon count by IPAddress
---
What goes around comes around. If it helps, hit it with Karma 🙂

VatsalJagani
SplunkTrust
SplunkTrust

Hello @splunkuseradmin,

This query should work. If not please check field name and ip-address values once.

| iplocation IPAddress
| geostats latfield=lat longfield=lon count

Hope this helps!!!

splunkuseradmin
Path Finder

Oops! my bad I was trying the same, what you guys suggesting but the mistake was in the field Ipaddress name correct field name is is "IP Address".
anyways you gave me the right answer thogh i check this one.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...