DescribeLogStoreInfo
Retrieves Simple Log Service information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeLogStoreInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Ttl |
integer |
The storage duration of logs. Unit: days. |
20 |
| RequestId |
string |
The ID of the request. |
C6C3B72B********E95FB0A161 |
| Quota |
integer |
The available log storage capacity. Unit: bytes. |
50000000 |
| ProjectName |
string |
The name of the Simple Log Service project. |
project-xxx-cn-hangzhou |
| LogStoreName |
string |
The name of the Simple Log Service Logstore. |
xxx-logstore |
| Used |
integer |
The used storage capacity. Unit: bytes. Note
The statistics of Simple Log Service have a delay of about two hours. |
0 |
| RegionId |
string |
The region ID for log delivery. |
cn-shanghai |
| InfoList |
array<object> |
The information list. |
|
|
object |
The information list. |
||
| Ttl |
integer |
The storage duration of logs. Unit: days. |
180 |
| Quota |
integer |
The storage capacity threshold. Unit: bytes. |
50000000 |
| ProjectName |
string |
The name of the Simple Log Service project. |
cloudfirewall-project-14151892848****-cn-hangzhou |
| LogStoreName |
string |
The name of the Logstore. |
xxx-logstore |
| Used |
integer |
The volume of stored logs. Unit: bytes. |
21852955752 |
| MaxSplitShard |
integer |
The maximum number of shards supported for elastic scaling. |
4 |
| Shard |
integer |
The number of shards currently in use. |
2 |
| RegionId |
string |
The region ID. |
cn-qingdao |
| Site |
string |
The site to which the Logstore belongs. Valid values: cn: the Chinese mainland. intl: outside the Chinese mainland. |
cn |
| LogVersion |
integer |
The log version. Valid values: 1: one Logstore. 2: two Logstores. |
2 |
| TotalQuota |
integer |
The total log storage capacity purchased by the user. |
50000000 |
| LogModifyQuota |
integer |
The number of times the user can switch the log mode. |
2 |
| TaskId |
string |
The task ID. |
132 |
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": "132"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | LogStoreNotExist | The specified logstore does not exist. It may have been deleted manually. Please go to the SLS console to view detailed information. | The specified LogStore does not exist. It may have been manually deleted. Please go to the SLS console to view detailed information. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.