Splunk Search
Highlighted

Why is the iplocation command not showing city/region for all ip?

Explorer

I have an index "index_A" that contains IP address of client. But when I execute the following query, it does not show city/region for all IP.

index="filered_uiauditlogs" | iplocation ip |
table Country,City,Region

alt text

What changes are required in order to get city/region name for all IP's?

0 Karma
Highlighted

Re: Why is the iplocation command not showing city/region for all ip?

Legend

@kapilbk1996, iplocation command is based on MaxMindDB for finding location details based on IP addresses.
You can use the blog by Karandeep Bains to update the IP Location DB in Splunk or the post from @starcher that he has referred http://www.georgestarcher.com/splunk-updating-the-geoip-database/.

Even if you update the IP Location DB it might not have mapping for all the IPs.

View solution in original post

0 Karma
Highlighted

Re: Why is the iplocation command not showing city/region for all ip?

SplunkTrust
SplunkTrust

This should be an answer 😉

0 Karma
Highlighted

Re: Why is the iplocation command not showing city/region for all ip?

SplunkTrust
SplunkTrust
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.