All Apps and Add-ons

Google map using ip local map to coordinate

susanto_andi81
New Member

Hi, I want to map internal IP ranges (10.0.0.0/24, 192.168.0.0/16 etc.) to geo coordinates.

For example if my client ip is 192.168.75.2, it may lookup to some coordinates (lat or longitude).

Is it possible? and how? thanks

0 Karma
1 Solution

southeringtonp
Motivator

Yes, it's possible.

You just need to populate the contents of the _lat and _lng fields used by the Google Maps app. You can use a lookup to populate the fields.

You can populate those fields with a scripted lookup under 4.1, or Splunk 4.2 allows CIDR in CSV-based lookups .

View solution in original post

southeringtonp
Motivator

Yes, it's possible.

You just need to populate the contents of the _lat and _lng fields used by the Google Maps app. You can use a lookup to populate the fields.

You can populate those fields with a scripted lookup under 4.1, or Splunk 4.2 allows CIDR in CSV-based lookups .

ziegfried
Influencer

Please note that as of Google Maps 1.1 this has changed. A single field _geo containing both the latitude and the longitude separated by a comma is now used as location information.

0 Karma

southeringtonp
Motivator

Not at present. It's been requested before. I believe that ziegfried was working on that at one point, but you might be better off asking this as a separate question.

0 Karma

susanto_andi81
New Member

It works!..

Thanks a lot.

By the way, in google map, can we drill down the event count in the map? (click the number in the map and then direct to search that event). I try it but cannot.

Thx

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...