tencent cloud

Cloud Log Service

API/SDK Log Upload Limitations

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-05-27 21:17:49

Write Limits

The limits for log writes are outlined in the table below:
Item
Description
Log upload
A single protobuf package must not contain more than 10 logGroups.
A protobuf package's logGroup must contain between 1 and 10,000 log entries.
The maximum size of a single value within a log entry is 1 MB.
The total size of all Values within the logGroup section of a protobuf package must not exceed 5 MB.
Keys in Log cannot be the following reserved fields and cannot start with __FILENAME__, __TIMESTAMP__, __LOGSETID__ and __TOPICID__.
The total size of the request body for a single upload should not exceed 6 MB before compression.
Frequency control
The write request limit for a single topic partition: 500 QPS. If this limit is exceeded, the system will return status code 429, indicating the error "SpeedQuotaExceed." During periods of high write frequency, it is recommended to split the topic partition.
Note:
Here, 500 QPS does not equate to 500 log entries per second. A single protobuf package from one request may include multiple log entries for batch upload.
Traffic throttling
Write throughput limit for a single topic partition after compression: 5 MB/s. If this limit is exceeded, the system will return status code 429, indicating the error "SpeedQuotaExceed." During periods of high write throughput, it is recommended to split the topic partition.


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan