- Documentation
Torch Object Storage
SDK Reference
Python
Bucket interface
Manage bucket configuration
Manage real-time logs (Python SDK)
Manage bucket configuration
Manage real-time logs (Python SDK)
Manage real-time logs (Python SDK)
TOS supports log analysis capabilities, allowing you to retrieve and analyze access logs generated during your visit to TOS through log services. With the TOS Python SDK, you can configure the log analysis function.
Set up real-time log configuration rules
warning
- To use the log analysis feature, you need to have the log service enabled and authorized TOS to access the Volcano Engine log service TLS.
- After enabling the log analysis function, the log service will automatically create log items and topics to store the relevant logs of the TOS.
Sample code
The following code sets the live log configuration rules for bucket-test.
Get real-time log configuration rules
warning
To obtain the live log configuration rules for a bucket, you must be the bucket owner by default.
Sample code
The following code is used to obtain the live log configuration rules for bucket-test.
Delete live log configuration rules
warning
To remove a live log configuration rule for a bucket, you must be the bucket owner by default.
Sample code
The following code removes the live log configuration rule for bucket-test.
Last updated: 2025.09.17 18:22:13