Deployment Architecture

geoip in a distributed environment

a212830
Champion

Hi,

We recently upgraded to 6.1.1 and when using the geoip command, we get an error:

"..GeoLifeCity.dat does not exist"

Now, the strange part is that this error is coming from the indexers, but pointing to a patch that only exists on the search-head (the NFS share for search-head pooling). Where does the ip command get executed - on the search-heads, or the indexers? And how would I fix this, if that path doesn't even exist on the indexers?

Edit....

Ok, found the iplocation command, which appears to be Splunks own version of geoip? Is that correct? Any pro's/cons for either one?

Tags (1)
0 Karma
1 Solution

dmaislin_splunk
Splunk Employee
Splunk Employee

You will want to use the "| iplocation clientip allfields=true" command in conjunction with the geostats to geo the mapping capabilities as a new charting option. This version of Splunk includes OpenStreetMaps tiles or you can use your own tile server for internal maps for example. I hope this helps.

"| iplocation clientip allfields=true | geostats count by clientip"

Save it as a dashboard visualization of chart type map.

And this app gives great examples: http://apps.splunk.com/app/1773/

View solution in original post

dmaislin_splunk
Splunk Employee
Splunk Employee

You will want to use the "| iplocation clientip allfields=true" command in conjunction with the geostats to geo the mapping capabilities as a new charting option. This version of Splunk includes OpenStreetMaps tiles or you can use your own tile server for internal maps for example. I hope this helps.

"| iplocation clientip allfields=true | geostats count by clientip"

Save it as a dashboard visualization of chart type map.

And this app gives great examples: http://apps.splunk.com/app/1773/

a212830
Champion

awesome. thanks!

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 ...

Wondering How to Build Resiliency in the Cloud?

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

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...