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
logstore

The Logstore struct.

Examples

Sample requests

GET /logstores/ali-test-logstore HTTP/1.1
Host:ali-test-project.cn-hangzhou.log.aliyuncs.com
Content-Type:application/json

Sample success responses

JSON format

HTTP/1.1 200 OK

Error codes

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