CLS provides quick statistical analysis of fields. You can quickly analyze field value distribution, trends over time, and numerical statistics without writing query statements. For example, you can quickly collect statistics on the top 5 request APIs and API response time trends.
The quick analysis feature supports only fields for which the statistics feature is enabled in index configuration.
Log in to the CLS console.
On the left sidebar, click Search and Analysis to go to the search and analysis page.
Click the drop-down lists of Logset and Log Topic to select the log topic to be searched.
Click Log Time and select a log time for search.
You can select Recent Time or Relative Time or customize the time range.
On the left sidebar, click the field name.
- The quick analysis feature for fields of the string type (text) is slightly different from that for fields of the numeric type (long and double):
- String: supports field value distributed statistics, intelligent aggregated time line charts and top 5 values
- Numeric: supports intelligent aggregated time line charts and top 5 values
- Gray fields, such as
__PKG_LOGID__in the above figure, cannot be clicked because statistics are not enabled for them.