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!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...