Queries the details about a Logstore.

Request headers

This operation uses only common request headers. For more information, see Common request headers.

Request syntax

GET /logstores/{logstore} HTTP/1.1

Request parameters

Parameter Type Location Required Example Description
logstore String Path Yes ali-test-logstore

The name of the Logstore.

project String Host Yes ali-test-project

The name of the project.

Response parameters

Parameter Type Example Description

The Logstore struct.


Sample requests

GET /logstores/ali-test-logstore HTTP/1.1

Sample success responses

JSON format

HTTP/1.1 200 OK

Error codes

For a list of error codes, visit the API Error Center.