All Products
Search
Document Center

Cloud Firewall:DescribeLogStoreInfo

Last Updated:Mar 24, 2026

Retrieves the details of the Logstore in Simple Log Service.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.

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.