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!

Detecting Brute Force Account Takeover Fraud with Splunk

This article is the second in a three-part series exploring advanced fraud detection techniques using Splunk. ...

Buttercup Games: Further Dashboarding Techniques (Part 9)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Buttercup Games: Further Dashboarding Techniques (Part 8)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...