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!

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

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...