调用DescribeExporterOutputList接口查询监控数据导出列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
cms:DescribeExporterOutputList |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PageNumber |
integer |
否 |
分页码,默认为 1。 |
1 |
| PageSize |
integer |
否 |
每页显示记录条数,默认为 10。 |
10 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
0E657631-CD6C-4C24-9637-98D000B9272C |
| Success |
boolean |
是否成功,取值:
|
true |
| Code |
string |
状态码。 说明
状态码为 200 表示成功,其余取值表示失败。 |
200 |
| Message |
string |
错误信息。 |
sucess |
| PageNumber |
integer |
当前页码。 |
1 |
| Total |
integer |
总记录条数。 |
25 |
| Datapoints |
object |
||
| Datapoint |
array<object> |
输出的配置列表。 |
|
|
array<object> |
|||
| DestType |
string |
数据导出的类型。 说明
目前仅支持 SLS,后续将支持导出更多的产品。 |
SLS |
| CreateTime |
integer |
创建的 uninx 时间戳。 |
1584016495498 |
| DestName |
string |
配置的名称。 |
exporterOut |
| ConfigJson |
object |
监控输出配置。 |
|
| ak |
string |
AccessKeyId。 |
LTAIpY33******** |
| endpoint |
string |
SLS 的数据对应的域名。 |
http://cn-qingdao-share.log.aliyuncs.com |
| logstore |
string |
日志库。 |
monitorlogstore |
| project |
string |
SLS 项目。 |
exporter |
示例
正常返回示例
JSON格式
{
"RequestId": "0E657631-CD6C-4C24-9637-98D000B9272C",
"Success": true,
"Code": "200",
"Message": "sucess",
"PageNumber": 1,
"Total": 25,
"Datapoints": {
"Datapoint": [
{
"DestType": "SLS",
"CreateTime": 1584016495498,
"DestName": "exporterOut",
"ConfigJson": {
"ak": "LTAIpY33********",
"endpoint": "http://cn-qingdao-share.log.aliyuncs.com",
"logstore": "monitorlogstore",
"project": "exporter"
}
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | 未找到指定资源。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。