- Documentation
Torch Object Storage
SDK Reference
C++
Bucket Interface
Manage Bucket Configuration
Managing Real-Time Logs (C++ SDK)
Manage Bucket Configuration
Managing Real-Time Logs (C++ SDK)
Managing Real-Time Logs (C++ SDK)
TOS provides log analysis capabilities, enabling you to retrieve and analyze access logs generated during your use of TOS through the log service. You can configure the relevant settings for log analysis functionality through the TOS C++ SDK.
Configure real-time log configuration rules
warning
- To use the log analysis feature, you must have enabled the log service and authorized TOS to access Volcengine Log Service (TLS).
- After the log analysis feature is enabled, the logging service automatically creates log projects and topics to store logs related to TOS.
Sample Code
The following code is used to configure real-time log configuration rules for the bucket examplebucket.
Retrieve Real-Time Log Configuration Rules
warning
To obtain the real-time log configuration rules for a bucket, you must, by default, be the bucket owner.
Sample Code
The following code is used to retrieve the real-time log configuration rules for the bucket 'examplebucket.'
Delete Real-Time Log Configuration Rules
warning
To delete the real-time log configuration rules of a bucket, you must, by default, be the bucket owner.
Sample Code
The following code is used to delete the real-time log configuration rule for the bucket 'examplebucket.'
Relevant Documentation
For more information on real-time log configuration, see Log Analysis. Last updated: 2025.09.25 14:22:46