Geo Lookup without IP

Comments

1 comment

  • Avatar
    Cory Singleton

    Hi Ashley, yes, this is possible. Alternatively, instead of faking an IP, you could also simply return a latitude and longitude that corresponds to somewhere in each country code for example:

    | if(country_code_in_log="US","39.7392") as latitude

    | if(country_code_in_log="US","-104.9903") as longitude

    | count by latitude,longitude

    As long as you have two columns named Latitude and Longitude, the map visualization will display it. 

    Hope this helps. If for some reason I have misunderstood, let me know and we can chat further. 

Please sign in to leave a comment.