All Products
Search
Document Center

Simple Log Service:Query and analysis

Last Updated:Apr 23, 2024

Simple Log Service can display query and analysis results in charts.

Limits

  • If you use a chart (Pro), you can add multiple query statements to the chart. For more information about the charts (Pro) supported by Simple Log Service, see Chart types.

  • Each query statement has a unique ID that is represented by an uppercase letter. Examples: A and B.

Basic configuration

Before you can add a chart, you must execute query statements. You can add multiple query statements on the Search & Analysis tab. After you add the query statements, click Apply. Simple Log Service displays the query and analysis results in the Create Chart section in real time.

查询分析

Query and analysis syntax

You can execute different query statements in Logstores and Metricstores.

Logstore (SQL)

Execute a query statement that follows the SQL syntax in a Logstore. For more information, see Log analysis overview.

查询

Metricstore (PromQL)

Execute a query statement that follows the PromQL syntax in a Metricstore. For more information, see Overview of query and analysis on metric data.

查询

Metricstore (SQL)

Execute a query statement that follows the SQL syntax in a Metricstore. For more information, see Overview of query and analysis on metric data.

查询

Builtin

Simple Log Service provides built-in templates to offer different display effects for query and analysis results in different scenarios.

内置模板

What to do next

Operation

Description

Remove a query statement

You can click the 删除 icon to remove a query statement.

Copy a query statement

You can click the 复制 icon to copy a query statement. Then, you can process multiple similar and complex query statements at a time or make small changes to the query statement.

Adjust the order of query statements

You can drag query statements to adjust their order.