Geolocation Query Functions
LogScale's Geolocation related functions format or convert geographical data points.
Table: Event and Geolocation Query Functions
| Function | Default Argument | Availability | Description |
|---|---|---|---|
geography:distance([as], lat1, lat2, lon1, lon2) | Â | Â | Calculates the distance between two geographical coordinates along an ideal earth surface. |
geohash([as], [lat], [lon], [precision]) | Â | Â | Calculates a geohash value given two fields representing latitude and longitude. |
ipLocation([as], [field]) | field | Â | Determines country, city, longitude, and latitude for given IP address. |