You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
Log Analysis
GetBucketRealTimeLog
Copy page
Download PDF
GetBucketRealTimeLog
Description​
This interface is used to query log configuration information.​
Request syntax​
​
GET /?realtimeLog HTTP/1.1​
Host: bucketname.tos-cn-beijing.volces.com​
Date: Fri, 18 Apr 2025 09:24:13 GMT ​
Authorization: authorization string​
​
Request parameters and headers​
​
Name​
Location​
Parameter Type​
Required​
Example Value​
Description​
realtimeLog​
Query​
String​
Yes​
-​
Represents the special identifier for the GetBucketRealTimeLog request.​
​
Request body elements​
This request contains no request message elements.​
Response headers​
This request returns public response message headers, See Common Parameters.​
Response body elements​
​
Name​
Type​
Sample Value​
Description​
RealTimeLogConfiguration​
Container​
-​
Real-Time Log Configuration Information​
Role​
String​
TOSLogArchiveTLSRole​
Role name, used to grant Object Storage Service (TOS) permissions to create resources such as project, topic, and other resources in Log Service (TLS), and to write logs.​
Parent Node: RealTimeLogConfiguration​
AccessLogConfiguration​
Container​
-​
Log resource configuration information.​
Parent Node: RealTimeLogConfiguration​
UseServiceTopic​
Bool​
true​
Topics created using the TOS service only support the value true.​
Parent Node: AccessLogConfiguration​
TTL​
Integer​
7​
Log retention period, measured in days. The valid range is [0, 3650], with a default value of 7 days.​
Parent Node: AccessLogConfiguration​
TLSProjectID​
String​
5f6fea31-1409-4123-acb4-fd527883****​
Log project ID.​
Parent Node: AccessLogConfiguration​
TLSTopicID​
String​
12219dfd-3280-42a1-8988-e1dcedfb****​
Log Topic ID.​
Parent Node: AccessLogConfiguration​
TLSDashboardID​
String​
8667f329-d640-14e2-bc17-05f3d49b****​
Log Dashboard ID.​
Parent Node: AccessLogConfiguration​
​
Sample request​
​
GET /?realtimeLog HTTP/1.1​
Host: bucketname.tos-cn-beijing.volces.com​
Date: Fri, 18 Apr 2025 09:24:13 GMT​
Authorization: authorization string​
​
Sample response​
​
HTTP/1.1 200 OK ​
Date: Fri, 18 Apr 2025 09:24:13 GMT ​
Server: TosServer ​
x-tos-id-2: 1e89f203jld00006-a444fd0 ​
x-tos-request-id: 1e89f203b2d00006-a444ed0 ​
Content-Length: 280​
​
{​
"RealTimeLogConfiguration": {​
"Role": "TOSLogArchiveTLSRole",​
"AccessLogConfiguration": {​
"UseServiceTopic": true,​
"TLSProjectID": "b7f78471-8cbd-402b-92fa-845b41f0****",​
"TLSTopicID": "fac89300-7ec3-4a3c-9d9d-f9c0e926****",​
"TLSDashboardID": "a43aac77-ac4b-4968-b422-e52360eb****",​
"TTL": 7​
}​
}​
}​
​
​
Last updated: 2025.11.10 17:46:55