Splunk Search

Iplocation reporting wrong country for a host - can this be fixed?

vysean
Explorer

Not sure how or if this can be fixed, but iplocation is reporting Germany as the country for datacenter.fiberdc.com.tr (which one might guess is in Turkey). Other GeoIP databases are reporting as Turkey.

Any idea how to go about fixing this, or even if it can be fixed?

Tags (1)
0 Karma
1 Solution

vysean
Explorer

My apologies - I meant to close out this thread before it got posted, but it was hung up in moderation.

It's not a Splunk issue. Running lookup dnslookup on the IP reported the DNS name "datacenter.fiberdc.com.tr", but doing an nslookup on the DNS name comes back with a different IP (the one you noted above). So Splunk was behaving properly.

The IP in my logs does resolve to "datacenter.fiberdc.com.tr", but also correctly iplocates to Germany, as confirmed by multiple geolocation services.

Sorry to waste your time!

View solution in original post

0 Karma

vysean
Explorer

My apologies - I meant to close out this thread before it got posted, but it was hung up in moderation.

It's not a Splunk issue. Running lookup dnslookup on the IP reported the DNS name "datacenter.fiberdc.com.tr", but doing an nslookup on the DNS name comes back with a different IP (the one you noted above). So Splunk was behaving properly.

The IP in my logs does resolve to "datacenter.fiberdc.com.tr", but also correctly iplocates to Germany, as confirmed by multiple geolocation services.

Sorry to waste your time!

0 Karma

gmerhej_splunk
Splunk Employee
Splunk Employee

I'm guessing you're using the iplocation with an "IP" field? Is the value "185.59.46.158"?

I've tried the splunk iplocation command on this IP and it's showing Turkey not Germany.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...