tencent cloud

All product documents
Cloud Log Service
Log Upload
Last updated: 2024-01-20 17:11:57
Log Upload
Last updated: 2024-01-20 17:11:57

What should I do if a message indicating a parameter error is displayed?

This error indicates that Request Parameters were specified incorrectly for log uploading via the API or SDK. Ensure that the parameters are specified correctly.

What are the possible causes for an authentication failure?

Authentication will fail when there is an authentication error during log uploading. The possible causes are as follows:
Cause
Solution
The key does not exist
Check whether the key has been deleted or disabled in the console.
If its status is normal, check whether the key is entered correctly. Note that there must be no leading or trailing spaces. You can click here to view the key.
The signature is incorrect
Check the signature calculation process against the signature document under "Making API Requests".
The signature expire
Re-calculate the signature against the signature document under "Making API Requests".
The request is not authorized
There is no log upload permission. Go to the CAM console to add the CLS load upload permission for your account.
The key is invalid
The key format is incorrect. You can click here to view the key.
Others
If the error persists after you have checked the above causes, contact us.

What should I do if the logs to upload exceed the size limit?

Adjust the log size according to the following limits:
Limit
Description
Log upload
The number of logGroups in a .pb package cannot exceed 10.
A logGroup in a .pb package can contain 1 to 10,000 log entries.
A single value in log cannot exceed 1 MB.
All values in the logGroup of a .pb package cannot exceed 5 MB.
The package for a single upload request cannot exceed 6 MB before compression.

Why is throttling or frequency control triggered?

The following limits may be exceeded:
Limit
Description
Frequency limit on writes
For a single log topic partition: 500 QPS.
Bandwidth limit on writes
For a single log topic partition: 5 MB/s.
You are advised to reduce the frequency and traffic of log uploads. If you do not want to do so, enable auto-split for the log topic.

How do I handle an upload request error?

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support