Splunk Search

Why are the iplocations not working at all?

robertlynch2020
Motivator

Hi

My iplocation is not working at all, what am i missing?

index=_internal sourcetype=splunkd_ui_access | stats count by clientip   | iplocation clientip

I don't get any city or country at all.

alt text

I am on Splunk Version:7.1.6 [Dec 2018], these are the files i currently have in the directory.
Do i need to update them to get this to work, or should something work by default?

alt text

0 Karma
1 Solution

harsmarvania57
Ultra Champion

Hi,

Those all IPs are private IPs (https://en.wikipedia.org/wiki/Private_network) and for private IP there are no IP location because these IP ranges are specifically reserved for Internal network.

View solution in original post

0 Karma

riddhipv
Engager

I have same issue and the IPs are public IPs too.

0 Karma

knielsen
Contributor

There are only private IP addresses in your screenshot, no public ones. There is no location lookup for private IP addresses.

The iplookup command itself works, otherwise you wouldn't get the columns for City and Country. It is just not possible to determine these for private IPs.

0 Karma

harsmarvania57
Ultra Champion

Hi,

Those all IPs are private IPs (https://en.wikipedia.org/wiki/Private_network) and for private IP there are no IP location because these IP ranges are specifically reserved for Internal network.

0 Karma

robertlynch2020
Motivator

ok- cheers and thanks

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...