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. |