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:
Log in to the LTS console. In the navigation pane on the left, choose Log Management.
A quick analysis is performed on a log stream. Select the target log group and log stream on the Log Management page.
Click Set Quick Analysis or . On the displayed page, add fields for quick analysis.
Click OK. The quick analysis task is created.
Note
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.
Click in the upper right corner of the Quick Analysis area to modify or delete an existing field. If you delete a field or modify the name of a field on the Log Structuring page, the field will be updated in the quick analysis.