Splunk Search

How can I go geoip lookup and plot data on splunk 6 native map?

melonman
Motivator

Hi,

I have been using Google Map app mainly for lookup the locations of ipaddress.
With Splunk6, I can use native map without accessing internet, but googme map app is currently supported in up to Splunk 5, not splunk 6.

Is there any way to do geo ip lookup and get lat/lng info to plot the data on splunk map without using google map app?

Thank you

Tags (3)
1 Solution

_d_
Splunk Employee
Splunk Employee

No, not interactively like you would with google maps. Yes, it sucks. In this release maps are only available as visualizations instead.

http://docs.splunk.com/Documentation/Splunk/6.0/Viz/Visualizationreference#Maps

View solution in original post

_d_
Splunk Employee
Splunk Employee

No, not interactively like you would with google maps. Yes, it sucks. In this release maps are only available as visualizations instead.

http://docs.splunk.com/Documentation/Splunk/6.0/Viz/Visualizationreference#Maps

melonman
Motivator

I did iplookup without internet connection and it worked. Looks like Splun has internal DB for ip location information already.

akocak
Contributor

yes, it has mmdb table for these lookups. it supposed to be updated with each release.
if you want to get list dynamically, you would need to update limits.conf in server for iplookup.
you could point it to external web db as required. However, back it up before you do such a thing.

0 Karma

melonman
Motivator

iplocation in Splunk 6 is using Maxmind DB internally?

0 Karma

melonman
Motivator

so, I have to use iplocation command which actually have to talk to external iplocation service provider, correct?


map

sshd (Accepted OR Failed)
| rex "(?\d+.\d+.\d+.\d+)"
| rex "(?Accepted|Failed)"
| stats count by ip res
| iplocation ip
| geostats latfield=lat longfield=lon sum(count) as count by res

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...