Limit items | Description |
Data volume | A single shard supports analyzing up to 1 GiB of data per operation. |
Query and analysis statement length | The maximum length of a single query and analysis statement is 50,000 characters. Within the statement, the maximum length of the query part is 4,096 characters. |
Field value size | The maximum size of a single field value is 16KB, i.e., 16,384 bytes. If exceeded, the excess part will not be analyzed. The default maximum length for field values in TLS is 2,048 bytes, i.e., 2 KB. If you need to adjust the maximum length of field values, you can set maximum length for statistic fields. For specific steps, see Set the maximum length of the field. Notice Updating the configuration only affects incremental data. |
Operation concurrency |
Notice When the logs that need query and analysis includes both standard storage and infrequent access storage, the concurrency limit of infrequent access storage applies. |
Data activation mechanism | Analysis functions only apply to data that is written after the statistics function is enabled. For fields without enabled statistics function, the SQL analysis result shows as empty. |
| SQL analysis only applies to data that corresponds to the latest index version. Data before index modification can be queried but is excluded from SQL analysis. |
Timeout | The query operation timeout is 55 seconds. |
Number of results | By default, 100 results are returned per analysis. If you need to return more data, use LIMIT syntax. In this case, up to 100,000 results can be returned. |
Analysis scope | Query and analysis statement examples | Description |
Analyze logs based on full data | | Count visits by status code. |
Analyze logs based on query results | | Count the number of visits in requests with status code 200. |