查看Logstore的详细信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
GET /logstores/{logstore} HTTP/1.1
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
logstore | string | 是 | Logstore 名称。 | ali-test-logstore |
返回参数
示例
正常返回示例
JSON
格式
{
"logstoreName": "my-logstore",
"ttl": 1,
"shardCount": 2,
"enable_tracking": false,
"autoSplit": true,
"maxSplitShard": 6,
"appendMeta": false,
"telemetryType": "Metrics",
"createTime": 1453949705,
"lastModifyTime": 1524155379,
"encrypt_conf": {
"enable": true,
"encrypt_type": "default",
"user_cmk_info": {
"cmk_key_id": "f5136b95-2420-ab31-xxxxxxxxx",
"arn": "acs:ram::13234:role/logsource",
"region_id": "cn-hangzhou"
}
},
"hot_ttl": 60,
"infrequentAccessTTL": 30,
"mode": "standard",
"productType": "aliyun",
"resourceQuota": {
"storage": {
"preserved": -1,
"used": 0
}
},
"processorId": ""
}
错误码
访问错误中心查看更多错误码。
错误码
HttpStatusCode | ErrorCode | ErrorMessage | 错误码描述 |
---|---|---|---|
404 | ProjectNotExist | Project does not exist. | Project 不存在。 |
404 | LogStoreNotExist | Logstore does not exist. | Logstore 不存在。 |
500 | InternalServerError | Specified Server Error Message. | 内部服务调用错误。 |
更多信息,请参见通用错误码。