拉取日志主题

最近更新时间: 2026-07-11 00:06:10

1. 接口描述

接口请求域名: monitor.api3.fincloud.tencent.com。

拉取CLS日志主题

默认接口请求频率限制:20次/秒。

接口更新时间:2022-08-27 22:31:17。

接口只验签名不鉴权。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数

参数名称 必选 允许NULL 类型 描述
Action String 公共参数,本接口取值:DescribeLogTopics
Version String 公共参数,本接口取值:2018-07-24
Region String 公共参数,地域信息可通过DescribeRegions接口查看产品支持的地域列表
LogSetId String 日志集ID
示例值: d5f10b84-def8-4e58-bab0-16ef567b1f22

3. 输出参数

参数名称 类型 描述
Data String 结果数据json
示例值: {"topics":[{"collection":true,"create_time":"2019-10-22 13:55:09","extract_rule":{"beginning_regex":"(\\S+)\\s\\S+\\s(\\S+)\\s\\[([^\\]]+)\\]\\s\\\"([^\\\"]+)\\s(\\S+)\\s([^\\\"]+)\\\"\\s(\\d+)\\s(\\d+)\\s\\\"([^\\\"]+)\\\"\\s\\\"([^\\\"]+)\\\"\\s\\\"([^\\\"]+)\\\"$","filter_keys":[],"filter_regex":[],"keys":["remote_addr","remote_user","time_local","http_method","http_uri","http_protocol","http_status","body_bytes_sent","http_referer","http_user_agent","http_x_forwarded_for"],"log_regex":"(\\S+)\\s\\S+\\s(\\S+)\\s\\[([^\\]]+)\\]\\s\\\"([^\\\"]+)\\s(\\S+)\\s([^\\\"]+)\\\"\\s(\\d+)\\s(\\d+)\\s\\\"([^\\\"]+)\\\"\\s\\\"([^\\\"]+)\\\"\\s\\\"([^\\\"]+)\\\"$"},"index":true,"log_type":"fullregex_log","logset_id":"d5f10b84-def8-4e58-bab0-16ef567b1f33","partition_count":1,"path":"","shipper":false,"sql_flag":false,"topic_id":"d4253323-7dfc-4b1b-8889-d82cef77375b","topic_name":"cms-nginx-regex","wild_path":"/data/log/nginx/**/default.log"}]}
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码

错误码 描述
InternalError 内部错误。
InvalidParameter 参数错误。
FailedOperation 操作失败。
MissingParameter 缺少参数错误。
UnauthorizedOperation 未授权操作。
FailedOperation 操作失败。
UnsupportedOperation 操作不支持。