Splunk Search

IP location not displaying city lat lon country etc

Venkat_16
Contributor

alt textHi all,

IP location is not displaying any of the fields it should return when used in search app. But the iplocation command is working in built apps like splunk app for aws and box app for splunk. But when i manually try to use iplocation command it does not return any. we are using splunk 6.4.2 . Attached screenshot for reference

0 Karma

s2_splunk
Splunk Employee
Splunk Employee

This should work. Are you sure the two IP addresses in your screenshot have location information? Do you get results if you type them into the Maxmind Online demo?

0 Karma

Venkat_16
Contributor

Thanks for the response, but it shows an error : The IP address 'xx.xx.xx.xx' is a reserved IP address (private, multicast, etc.).

0 Karma

s2_splunk
Splunk Employee
Splunk Employee

Well there you have it. Such IP addresses will not have location information in the MaxMind DB Splunk ships with and hence you don't see the expected fields.
Any public IP address should resolve properly.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...