Splunk Search

How accurate is iplocation for cluster map use?

Gawker
Path Finder

I have fortigate logs for which I have a high level of confidence that the srccountry values are correct.

I selected data from a particular day so that I could do my first cluster map using:

  • | iplocation srcip | geostats latfield=lat longfield=lon count

I was seeing some data that looked on the surface to be invalid. iplocation was saying that one of the IPs was in Seychelles off of the coast of Africa while srccountry was correctly indicating that the IP was in the Netherlands.

I then determined the number of entries where iplocation Country did not match srccountry and removed the "where" clause to get the full count:

  • | iplocation srcip | where NOT Country=srccountry | stats count

8,470 of the 29,233 data points (29%) had iplocation Country values that did not match srccountry.

561 of the 8,470 mismatches (7%) had null iplocation Country values.

Are my queries incorrect or...?

Thank you.

0 Karma
1 Solution

starcher
Influencer

By default Splunk uses the free Maxmind database. You are limited to that third party accuracy. Also if you are not updating your database that could be an issue.

View solution in original post

0 Karma

starcher
Influencer

By default Splunk uses the free Maxmind database. You are limited to that third party accuracy. Also if you are not updating your database that could be an issue.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...