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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...