Updated on 2024-02-28 GMT+08:00

Quick Analysis

Monitoring keywords in logs helps you keep track of system performance and services. For example, the number of ERROR keywords indicates the system health, and the number of BUY keywords indicates the sales volume. LTS provides quick analysis for you to obtain statistics on your specified keywords.

Prerequisites

Quick analysis is conducted on fields extracted from structured logs. Structure raw logs before you create a quick analysis task.

Creating a Quick Analysis Task

You can enable Quick Analysis for the fields on the Log Structuring page. You can also perform the following steps to create a quick analysis task:

  1. Log in to the LTS console. In the navigation pane on the left, choose Log Management.
  2. A quick analysis is performed on a log stream. Select the target log group and log stream on the Log Management page.
  3. On the Raw Logs tab page, click Set Quick Analysisor . On the displayed page, add fields for quick analysis.
  4. Click OK. The quick analysis task is created.

    • indicates a field of the string type.
    • indicates a field of the float type.
    • indicates a field of the long type.
    • The maximum length of a field for quick analysis is 2000 bytes.
    • The quick analysis field area displays the first 100 records.