Log Analytics now offers distance()
function that you can use in your log queries to compute the distance between two geolocation co-ordinates. Provide the values of the geolocation co-ordinates in degrees. The function returns distance in miles.
See eval and where commands documentation.