Updated on 2024-11-18 GMT+08:00

Map

A map is used as the background to display geographic data in different colors and marks. Maps provided by LTS include the China map and the world map. After you use specific functions (ip_to_province for the China map and ip_to_country for the world map) in query and analysis statements, LTS displays analysis results on a map.

A map contains the following elements:

  • Map canvas
  • Color block

Checking Maps

  1. Log in to the LTS console.
  2. In the navigation pane, choose Log Management.
  3. On the Log Management page, select the target log group and log stream. The log stream details page is displayed.
  4. Choose Log Analysis.
  5. Enter a query and analysis statement by referring to SQL Analysis Syntax, set the time range, and click Search.
  6. Click to display the queried data in a map. Set parameters in the General Settings right pane by referring to Table 1.

    Figure 1 Map
    Table 1 Map parameters

    Parameter

    Description

    Map Type

    Sets the region range displayed on the map, including the provincial map of China and the world map.

    Province

    If the map type is a provincial map of China, this field indicates a specific province, for example, Zhejiang province.

    Country/Region

    If the map type is a world map, the value of this field is a specific country, for example, China.

    Data Column

    Select the field whose value needs to be displayed.

    Title Font Size

    Sets the font size of the chart title.