You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
Analyze logs
Quick analysis for specified log fields
Copy page
Download PDF
Quick analysis for specified log fields
When querying log data in TLS, you can use the quick analysis feature to instantly view information about the Top 5 values of specified fields over a set period of time. This topic describes how to use quick analysis feature.​
Background information​
TLS offers a quick analysis feature in the left sidebar in query and analysis page. Query and analysis statements are not required. You can simply interact with one click to view information about the Top 5 values of specified fields from recent periods. The quick analysis feature is ideal for scenarios that require a simple preview of field value categories and proportions, such as viewing the proportions of various request types or the Top 5 interface list by access volume.​
Prerequisites​
For fields that need quick analysis, indexes have been configured and statistic feature is enabled. For more details, see Configuration Index.​
Steps​
  1. Log in to TLS console.​
  1. Select the region where log service is located from the top navigation bar.​
  1. In the left navigation pane, select Common functions > Query and analysis.​
  1. On Query and analysis page and in the list of left pane, select the specified project and topic.​
  1. On the query and analysis page for the specified log topic, set the time range.​
  • By default, the time range is 5 minutes. You can also customize the time range for query. If log data does not fall within the specified query time range, it will not be retrieved.​
  1. Click the field name in the left sidebar.​
  • The pop-up window displays the basic information, statistical metrics, and Top 5 field values within specified time range.​
  • Click Top 5 field value change trend to view the trending changes of Top 5 field values in the chart analysis. You can also change the chart settings to display rapid analysis results in various chart formats.​
Notice​
The Other fields section shows fields that have not enabled statistics in the index configuration. For detailed steps to enable statistics, see Configuration Index.​
  • ​Image​​
Metric description for quick analysis​
The quick analysis metrics for different index field types are as follows. For JSON type indexes, analysis is based only on the types of subfields (text, long, double).​
​
Index field types​
Basic information​
Statistical metrics​
text​
  • Total log rows​
  • Current total number of rows​
  • Total number of rows with missing values​
  • % of missing values​
  • Total Distinct​
  • Distinct value%​
  • Maximum length​
  • Minimum length​
  • Average length​
long/double​
  • Total log rows​
  • Current total number of rows​
  • Total number of rows with missing values​
  • % of missing values​
  • Total Distinct​
  • Distinct value%​
  • Maximum value​
  • Minimum value​
  • Average value​
  • Median​
  • Quartile Q1​
  • Quartile Q3​
  • Sample standard deviation, kurtosis​
  • Population standard deviation, skewness​
​
​
Last updated: 2026.01.05 11:23:14