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

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

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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...