The geographic locations database maps countries and regions to IP addresses. You may want to adapt it due to a number of reasons.
- IP addresses (that don't appear in the geographic locations database) directly with a city's location (as opposed to a country or region).
- Office-internal IP addresses with specific office locations, such as 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16.
To create a custom location for the world map, follow the procedure below.
Edit the Business Transaction (BT), responsible for location detection.
- Open the System Profile Preferences dialog box, and Select Business Transactions item.
- In the Built-in transactions, find the Visits by User Experience and Count BT, and double-click it for editing. Click Yes in the confirmation message.
- In the Splitting Results pane, click + to add new spltting measure.
- Find the Country of Visit measure select it, and click Edit. You can hit Ctrl+F and type in the measure name to find it easily.
- From the Geographical granularity list, select Custom Regions.
- In the Regions enabled for list, click + and select the required countries.
- In the Cities enabled for list, click + and select the required countries, and number of most-populous cities to be defined.
- Save all your changes.
AppMon is now set up to resolve the selected countries to the city level.
Now define an IP address for a particular city.
Click Settings > Dynatrace Server > Geographical Locations.
In the Geographical Locations - map IP address to locations pane, click + to create a new record.
Specify the IP address, and select the country and regions where it belongs to. To show the city on the world map, select Use Geo Coordinates, and specify its geographic coordinates.Tip
You can copy coordinates from the http://maps.google.com. Go to the defined point, right-click and select What's here?
Add all the cities you need, and save all your changes.
Now, when a visit occurs from the specified IP address, the Visits dashlet displays the custom definition.