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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...