Queries the details of the Logstore in Simple Log Service.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Ttl |
integer |
The storage duration of logs, in days. |
20 |
| RequestId |
string |
The request ID. |
C6C3B72B********E95FB0A161 |
| Quota |
integer |
The available log storage capacity, in bytes. |
50000000 |
| ProjectName |
string |
The name of the Simple Log Service project. |
project-xxx-cn-hangzhou |
| LogStoreName |
string |
The name of the SLS Logstore. |
xxx-logstore |
| Used |
integer |
The used storage capacity, in bytes. Note
Statistics from Simple Log Service may be delayed by up to two hours. |
0 |
| RegionId |
string |
The ID of the region where logs are delivered. |
cn-shanghai |
| InfoList |
array<object> |
The information list. |
|
|
object |
The information list. |
||
| Ttl |
integer |
The storage duration of logs, in days. |
180 |
| Quota |
integer |
The storage capacity threshold, in bytes. |
50000000 |
| ProjectName |
string |
The name of the Simple Log Service project. |
cloudfirewall-project-14151892848****-cn-hangzhou |
| LogStoreName |
string |
The name of the SLS Logstore. |
xxx-logstore |
| Used |
integer |
The amount of stored logs, in bytes. |
21852955752 |
| MaxSplitShard |
integer |
The maximum number of shards supported for scaling. |
4 |
| Shard |
integer |
The number of shards in use. |
2 |
| RegionId |
string |
The region ID. |
cn-qingdao |
| Site |
string |
The location of the Logstore. Valid values: `cn` for the Chinese mainland and `intl` for regions outside the Chinese mainland. |
cn |
| LogVersion |
integer |
The log version. 1: indicates one Logstore. 2: indicates two Logstores. |
2 |
| TotalQuota |
integer |
The total purchased log storage capacity, in bytes. |
50000000 |
| LogModifyQuota |
integer |
The number of times the log storage mode can be changed. |
2 |
| TaskId |
string |
The task ID. |
用户进行日志修改所产生的任务id。 |
Examples
Success response
JSON format
{
"Ttl": 20,
"RequestId": "C6C3B72B********E95FB0A161",
"Quota": 50000000,
"ProjectName": "project-xxx-cn-hangzhou",
"LogStoreName": "xxx-logstore",
"Used": 0,
"RegionId": "cn-shanghai",
"InfoList": [
{
"Ttl": 180,
"Quota": 50000000,
"ProjectName": "cloudfirewall-project-14151892848****-cn-hangzhou",
"LogStoreName": "xxx-logstore",
"Used": 21852955752,
"MaxSplitShard": 4,
"Shard": 2,
"RegionId": "cn-qingdao",
"Site": "cn"
}
],
"LogVersion": 2,
"TotalQuota": 50000000,
"LogModifyQuota": 2,
"TaskId": "用户进行日志修改所产生的任务id。"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.