tencentcloud-sdk-nodejs-cls 4.0.295 → 4.0.298
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +367 -0
- package/SERVICE_CHANGELOG.md +419 -52
- package/package.json +1 -1
- package/products.md +25 -24
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +42 -25
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +42 -25
package/products.md
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2022-02-21 08:00:44 |
|
|
6
6
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-02-21 08:00:45 |
|
|
7
7
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-02-21 08:00:46 |
|
|
8
|
-
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-02-
|
|
8
|
+
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-02-28 08:05:12 |
|
|
9
9
|
| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-02-21 08:00:52 |
|
|
10
|
-
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-02-
|
|
10
|
+
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-02-28 08:05:20 |
|
|
11
11
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-02-21 08:01:03 |
|
|
12
12
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-02-21 08:01:04 |
|
|
13
13
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-02-21 08:01:06 |
|
|
14
|
-
| apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-
|
|
14
|
+
| apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-03-01 08:00:39 |
|
|
15
15
|
| apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-02-21 08:01:18 |
|
|
16
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-
|
|
16
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-03-01 08:01:06 |
|
|
17
17
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-02-24 08:02:49 |
|
|
18
18
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-02-21 08:01:30 |
|
|
19
19
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-02-21 08:01:32 |
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
| bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2022-02-21 08:01:54 |
|
|
28
28
|
| bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
|
|
29
29
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2022-02-21 08:02:02 |
|
|
30
|
-
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-
|
|
30
|
+
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-03-01 08:01:53 |
|
|
31
31
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-02-21 08:02:12 |
|
|
32
32
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-02-21 08:02:15 |
|
|
33
33
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-02-21 08:02:20 |
|
|
34
34
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-02-21 08:02:25 |
|
|
35
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-
|
|
35
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-03-01 08:02:21 |
|
|
36
36
|
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-02-24 08:04:07 |
|
|
37
37
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-02-21 08:02:59 |
|
|
38
38
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-02-21 08:03:00 |
|
|
@@ -41,25 +41,25 @@
|
|
|
41
41
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-02-18 16:00:08 |
|
|
42
42
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
43
43
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
44
|
-
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-
|
|
44
|
+
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-03-01 08:03:20 |
|
|
45
45
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-02-22 08:03:47 |
|
|
46
|
-
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-02-
|
|
46
|
+
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-02-28 08:08:23 |
|
|
47
47
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-02-21 08:03:43 |
|
|
48
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-
|
|
48
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-03-01 08:03:44 |
|
|
49
49
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-02-21 08:03:52 |
|
|
50
50
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-02-21 08:04:00 |
|
|
51
51
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
52
|
-
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-02-
|
|
52
|
+
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-02-25 08:06:26 |
|
|
53
53
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
54
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-02-
|
|
54
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-02-25 08:06:49 |
|
|
55
55
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-02-21 08:04:51 |
|
|
56
56
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
57
57
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-02-21 08:05:19 |
|
|
58
58
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-02-21 08:05:24 |
|
|
59
59
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-02-21 08:05:37 |
|
|
60
60
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-02-21 08:05:42 |
|
|
61
|
-
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-
|
|
62
|
-
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-
|
|
61
|
+
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-03-01 08:05:34 |
|
|
62
|
+
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-03-01 08:05:44 |
|
|
63
63
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-02-21 08:05:57 |
|
|
64
64
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-02-21 08:06:02 |
|
|
65
65
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-02-21 08:06:06 |
|
|
@@ -74,13 +74,14 @@
|
|
|
74
74
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-02-21 08:06:46 |
|
|
75
75
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-02-21 08:06:47 |
|
|
76
76
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-02-21 08:06:51 |
|
|
77
|
+
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-02-25 16:43:22 |
|
|
77
78
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-02-21 08:06:54 |
|
|
78
|
-
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-02-
|
|
79
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-02-
|
|
79
|
+
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-02-25 08:09:04 |
|
|
80
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-02-25 08:09:07 |
|
|
80
81
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-02-21 08:07:03 |
|
|
81
82
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-02-21 08:07:05 |
|
|
82
83
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-02-21 08:07:07 |
|
|
83
|
-
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-
|
|
84
|
+
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-03-01 08:07:22 |
|
|
84
85
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-02-21 08:07:21 |
|
|
85
86
|
| gs | [云游戏解决方案](https://cloud.tencent.com/document/product/1162) | 2022-02-21 08:07:24 |
|
|
86
87
|
| gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-02-21 08:07:25 |
|
|
@@ -104,12 +105,12 @@
|
|
|
104
105
|
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-02-24 08:10:24 |
|
|
105
106
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-02-21 08:09:21 |
|
|
106
107
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-02-21 08:09:21 |
|
|
107
|
-
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-
|
|
108
|
+
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-03-01 08:09:32 |
|
|
108
109
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-02-21 08:09:30 |
|
|
109
110
|
| memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product) | 2020-08-24 08:07:49 |
|
|
110
111
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-02-21 08:09:31 |
|
|
111
112
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-02-21 08:09:33 |
|
|
112
|
-
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-02-
|
|
113
|
+
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-02-25 08:11:43 |
|
|
113
114
|
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-02-23 08:10:23 |
|
|
114
115
|
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-02-21 08:09:56 |
|
|
115
116
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-02-21 08:10:08 |
|
|
@@ -129,8 +130,8 @@
|
|
|
129
130
|
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-02-21 08:10:46 |
|
|
130
131
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-02-21 08:10:55 |
|
|
131
132
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-02-21 08:10:56 |
|
|
132
|
-
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-
|
|
133
|
-
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-
|
|
133
|
+
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-03-01 08:11:06 |
|
|
134
|
+
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-03-01 08:11:15 |
|
|
134
135
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-02-22 08:11:38 |
|
|
135
136
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-02-21 08:11:14 |
|
|
136
137
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2022-02-21 08:11:16 |
|
|
@@ -154,12 +155,12 @@
|
|
|
154
155
|
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-02-21 08:12:08 |
|
|
155
156
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-02-21 08:12:18 |
|
|
156
157
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
157
|
-
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-02-
|
|
158
|
+
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-02-25 08:14:28 |
|
|
158
159
|
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-02-21 08:12:20 |
|
|
159
160
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-02-21 08:12:32 |
|
|
160
161
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-02-21 08:12:51 |
|
|
161
162
|
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-02-21 08:12:52 |
|
|
162
|
-
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-
|
|
163
|
+
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-03-01 08:13:25 |
|
|
163
164
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-02-21 08:13:08 |
|
|
164
165
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
165
166
|
| tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2022-02-21 08:13:09 |
|
|
@@ -175,14 +176,14 @@
|
|
|
175
176
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-02-21 08:13:41 |
|
|
176
177
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-02-21 08:13:42 |
|
|
177
178
|
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-02-21 08:13:46 |
|
|
178
|
-
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-
|
|
179
|
+
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-03-01 08:14:14 |
|
|
179
180
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-02-21 08:14:10 |
|
|
180
181
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-02-21 08:14:11 |
|
|
181
182
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-02-21 08:14:12 |
|
|
182
183
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-02-21 08:14:15 |
|
|
183
184
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-02-21 08:14:16 |
|
|
184
185
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-02-21 08:14:18 |
|
|
185
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-02-
|
|
186
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-02-28 08:19:45 |
|
|
186
187
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-02-21 08:15:09 |
|
|
187
188
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-02-21 08:15:12 |
|
|
188
189
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -345,46 +345,51 @@ export interface LogItem {
|
|
|
345
345
|
*/
|
|
346
346
|
export interface SearchLogResponse {
|
|
347
347
|
/**
|
|
348
|
-
*
|
|
348
|
+
* 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
|
|
349
349
|
*/
|
|
350
350
|
Context: string
|
|
351
351
|
|
|
352
352
|
/**
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
* 符合检索条件的日志是否已全部返回,如未全部返回可使用Context参数获取后续更多日志
|
|
354
|
+
注意:仅当检索分析语句(Query)不包含SQL时有效
|
|
355
|
+
*/
|
|
355
356
|
ListOver: boolean
|
|
356
357
|
|
|
357
358
|
/**
|
|
358
|
-
*
|
|
359
|
+
* 返回的是否为统计分析(即SQL)结果
|
|
359
360
|
*/
|
|
360
361
|
Analysis: boolean
|
|
361
362
|
|
|
362
363
|
/**
|
|
363
|
-
*
|
|
364
|
+
* 匹配检索条件的原始日志
|
|
364
365
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
365
366
|
*/
|
|
366
|
-
|
|
367
|
+
Results: Array<LogInfo>
|
|
367
368
|
|
|
368
369
|
/**
|
|
369
|
-
*
|
|
370
|
+
* 日志统计分析结果的列名
|
|
371
|
+
当UseNewAnalysis为false时生效
|
|
370
372
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
371
373
|
*/
|
|
372
|
-
|
|
374
|
+
ColNames: Array<string>
|
|
373
375
|
|
|
374
376
|
/**
|
|
375
|
-
*
|
|
377
|
+
* 日志统计分析结果
|
|
378
|
+
当UseNewAnalysis为false时生效
|
|
376
379
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
377
380
|
*/
|
|
378
381
|
AnalysisResults: Array<LogItems>
|
|
379
382
|
|
|
380
383
|
/**
|
|
381
|
-
*
|
|
384
|
+
* 日志统计分析结果
|
|
385
|
+
当UseNewAnalysis为true时生效
|
|
382
386
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
383
387
|
*/
|
|
384
388
|
AnalysisRecords: Array<string>
|
|
385
389
|
|
|
386
390
|
/**
|
|
387
|
-
*
|
|
391
|
+
* 日志统计分析结果的列属性
|
|
392
|
+
当UseNewAnalysis为true时生效
|
|
388
393
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
389
394
|
*/
|
|
390
395
|
Columns: Array<Column>
|
|
@@ -2401,7 +2406,7 @@ export interface GetAlarmLogRequest {
|
|
|
2401
2406
|
Query: string
|
|
2402
2407
|
|
|
2403
2408
|
/**
|
|
2404
|
-
* 单次查询返回的日志条数,最大值为
|
|
2409
|
+
* 单次查询返回的日志条数,最大值为1000
|
|
2405
2410
|
*/
|
|
2406
2411
|
Limit?: number
|
|
2407
2412
|
|
|
@@ -3300,43 +3305,55 @@ export interface MonitorTime {
|
|
|
3300
3305
|
*/
|
|
3301
3306
|
export interface SearchLogRequest {
|
|
3302
3307
|
/**
|
|
3303
|
-
*
|
|
3308
|
+
* 要检索分析的日志主题ID
|
|
3304
3309
|
*/
|
|
3305
3310
|
TopicId: string
|
|
3306
3311
|
|
|
3307
3312
|
/**
|
|
3308
|
-
*
|
|
3313
|
+
* 要检索分析的日志的起始时间,Unix时间戳(毫秒)
|
|
3309
3314
|
*/
|
|
3310
3315
|
From: number
|
|
3311
3316
|
|
|
3312
3317
|
/**
|
|
3313
|
-
*
|
|
3318
|
+
* 要检索分析的日志的结束时间,Unix时间戳(毫秒)
|
|
3314
3319
|
*/
|
|
3315
3320
|
To: number
|
|
3316
3321
|
|
|
3317
3322
|
/**
|
|
3318
|
-
|
|
3319
|
-
|
|
3323
|
+
* 检索分析语句,最大长度为12KB
|
|
3324
|
+
语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句
|
|
3325
|
+
*/
|
|
3320
3326
|
Query: string
|
|
3321
3327
|
|
|
3322
3328
|
/**
|
|
3323
|
-
|
|
3324
|
-
|
|
3329
|
+
* 表示单次查询返回的原始日志条数,最大值为1000,获取后续日志需使用Context参数
|
|
3330
|
+
注意:
|
|
3331
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
3332
|
+
* SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
3333
|
+
*/
|
|
3325
3334
|
Limit?: number
|
|
3326
3335
|
|
|
3327
3336
|
/**
|
|
3328
|
-
|
|
3329
|
-
|
|
3337
|
+
* 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时
|
|
3338
|
+
注意:
|
|
3339
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
3340
|
+
* SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
3341
|
+
*/
|
|
3330
3342
|
Context?: string
|
|
3331
3343
|
|
|
3332
3344
|
/**
|
|
3333
|
-
|
|
3334
|
-
|
|
3345
|
+
* 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
|
3346
|
+
注意:
|
|
3347
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
3348
|
+
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
3349
|
+
*/
|
|
3335
3350
|
Sort?: string
|
|
3336
3351
|
|
|
3337
3352
|
/**
|
|
3338
|
-
|
|
3339
|
-
|
|
3353
|
+
* 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
|
|
3354
|
+
为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
|
|
3355
|
+
两种返回方式在编码格式上有少量区别,建议使用true
|
|
3356
|
+
*/
|
|
3340
3357
|
UseNewAnalysis?: boolean
|
|
3341
3358
|
}
|
|
3342
3359
|
|
|
@@ -132,7 +132,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
132
132
|
*/
|
|
133
133
|
ModifyAlarmNotice(req: ModifyAlarmNoticeRequest, cb?: (error: string, rep: ModifyAlarmNoticeResponse) => void): Promise<ModifyAlarmNoticeResponse>;
|
|
134
134
|
/**
|
|
135
|
-
*
|
|
135
|
+
* 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
|
|
136
136
|
*/
|
|
137
137
|
SearchLog(req: SearchLogRequest, cb?: (error: string, rep: SearchLogResponse) => void): Promise<SearchLogResponse>;
|
|
138
138
|
/**
|
|
@@ -215,7 +215,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
215
215
|
return this.request("ModifyAlarmNotice", req, cb);
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
|
|
219
219
|
*/
|
|
220
220
|
async SearchLog(req, cb) {
|
|
221
221
|
return this.request("SearchLog", req, cb);
|
|
@@ -278,39 +278,44 @@ export interface LogItem {
|
|
|
278
278
|
*/
|
|
279
279
|
export interface SearchLogResponse {
|
|
280
280
|
/**
|
|
281
|
-
*
|
|
281
|
+
* 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
|
|
282
282
|
*/
|
|
283
283
|
Context: string;
|
|
284
284
|
/**
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
* 符合检索条件的日志是否已全部返回,如未全部返回可使用Context参数获取后续更多日志
|
|
286
|
+
注意:仅当检索分析语句(Query)不包含SQL时有效
|
|
287
|
+
*/
|
|
287
288
|
ListOver: boolean;
|
|
288
289
|
/**
|
|
289
|
-
*
|
|
290
|
+
* 返回的是否为统计分析(即SQL)结果
|
|
290
291
|
*/
|
|
291
292
|
Analysis: boolean;
|
|
292
293
|
/**
|
|
293
|
-
*
|
|
294
|
+
* 匹配检索条件的原始日志
|
|
294
295
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
295
296
|
*/
|
|
296
|
-
|
|
297
|
+
Results: Array<LogInfo>;
|
|
297
298
|
/**
|
|
298
|
-
*
|
|
299
|
+
* 日志统计分析结果的列名
|
|
300
|
+
当UseNewAnalysis为false时生效
|
|
299
301
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
300
302
|
*/
|
|
301
|
-
|
|
303
|
+
ColNames: Array<string>;
|
|
302
304
|
/**
|
|
303
|
-
*
|
|
305
|
+
* 日志统计分析结果
|
|
306
|
+
当UseNewAnalysis为false时生效
|
|
304
307
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
305
308
|
*/
|
|
306
309
|
AnalysisResults: Array<LogItems>;
|
|
307
310
|
/**
|
|
308
|
-
*
|
|
311
|
+
* 日志统计分析结果
|
|
312
|
+
当UseNewAnalysis为true时生效
|
|
309
313
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
310
314
|
*/
|
|
311
315
|
AnalysisRecords: Array<string>;
|
|
312
316
|
/**
|
|
313
|
-
*
|
|
317
|
+
* 日志统计分析结果的列属性
|
|
318
|
+
当UseNewAnalysis为true时生效
|
|
314
319
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
315
320
|
*/
|
|
316
321
|
Columns: Array<Column>;
|
|
@@ -2039,7 +2044,7 @@ export interface GetAlarmLogRequest {
|
|
|
2039
2044
|
*/
|
|
2040
2045
|
Query: string;
|
|
2041
2046
|
/**
|
|
2042
|
-
* 单次查询返回的日志条数,最大值为
|
|
2047
|
+
* 单次查询返回的日志条数,最大值为1000
|
|
2043
2048
|
*/
|
|
2044
2049
|
Limit?: number;
|
|
2045
2050
|
/**
|
|
@@ -2802,36 +2807,48 @@ export interface MonitorTime {
|
|
|
2802
2807
|
*/
|
|
2803
2808
|
export interface SearchLogRequest {
|
|
2804
2809
|
/**
|
|
2805
|
-
*
|
|
2810
|
+
* 要检索分析的日志主题ID
|
|
2806
2811
|
*/
|
|
2807
2812
|
TopicId: string;
|
|
2808
2813
|
/**
|
|
2809
|
-
*
|
|
2814
|
+
* 要检索分析的日志的起始时间,Unix时间戳(毫秒)
|
|
2810
2815
|
*/
|
|
2811
2816
|
From: number;
|
|
2812
2817
|
/**
|
|
2813
|
-
*
|
|
2818
|
+
* 要检索分析的日志的结束时间,Unix时间戳(毫秒)
|
|
2814
2819
|
*/
|
|
2815
2820
|
To: number;
|
|
2816
2821
|
/**
|
|
2817
|
-
|
|
2818
|
-
|
|
2822
|
+
* 检索分析语句,最大长度为12KB
|
|
2823
|
+
语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句
|
|
2824
|
+
*/
|
|
2819
2825
|
Query: string;
|
|
2820
2826
|
/**
|
|
2821
|
-
|
|
2822
|
-
|
|
2827
|
+
* 表示单次查询返回的原始日志条数,最大值为1000,获取后续日志需使用Context参数
|
|
2828
|
+
注意:
|
|
2829
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
2830
|
+
* SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
2831
|
+
*/
|
|
2823
2832
|
Limit?: number;
|
|
2824
2833
|
/**
|
|
2825
|
-
|
|
2826
|
-
|
|
2834
|
+
* 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时
|
|
2835
|
+
注意:
|
|
2836
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
2837
|
+
* SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
2838
|
+
*/
|
|
2827
2839
|
Context?: string;
|
|
2828
2840
|
/**
|
|
2829
|
-
|
|
2830
|
-
|
|
2841
|
+
* 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
|
2842
|
+
注意:
|
|
2843
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
|
2844
|
+
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
|
2845
|
+
*/
|
|
2831
2846
|
Sort?: string;
|
|
2832
2847
|
/**
|
|
2833
|
-
|
|
2834
|
-
|
|
2848
|
+
* 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
|
|
2849
|
+
为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
|
|
2850
|
+
两种返回方式在编码格式上有少量区别,建议使用true
|
|
2851
|
+
*/
|
|
2835
2852
|
UseNewAnalysis?: boolean;
|
|
2836
2853
|
}
|
|
2837
2854
|
/**
|