Need to visualize airports, cities, or countries?
Location in query builder and location() in SQL both accept many location formats.
Use "1.1.1.1", "JFK", "San Francisco, CA", "London, UK", or "US".
Visualize IP addresses, airports, cities, and countries on a map using our built-in location mapping.
Create a new chart and select Chart -> Map in right sidebar.
Pick a numeric column to visualize on the map and drag it to Value.
Drag an IP address or other location column to Location.
You should see your IP addresses rendered on a map below.
Here's an SQL example visualizing CloudFlare request rate by location:
Open the right sidebar on your chart and select Data -> Location label -> Original value. Now, the tooltips will show your data directly instead of the closest city.
Location in query builder and location() in SQL both accept many location formats.
Use "1.1.1.1", "JFK", "San Francisco, CA", "London, UK", or "US".
Use the IPToAsn function to look up the autonomous system that owns an IP address. It returns a tuple of the ASN number and the organization name.
This returns (15169,'Google LLC'). Use asn.1 for the number and asn.2 for the name to work with them as separate columns.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.