tencentcloud-sdk-nodejs-cls 4.0.262 → 4.0.266
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 +471 -0
- package/SERVICE_CHANGELOG.md +595 -12
- package/package.json +1 -1
- package/products.md +24 -24
- package/src/services/cls/v20201016/cls_client.ts +29 -127
- package/src/services/cls/v20201016/cls_models.ts +166 -669
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +9 -41
- package/tencentcloud/services/cls/v20201016/cls_client.js +11 -59
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +166 -595
|
@@ -310,86 +310,6 @@ export interface DescribeConfigMachineGroupsRequest {
|
|
|
310
310
|
ConfigId: string
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
/**
|
|
314
|
-
* DescribeAsyncContextResult返回参数结构体
|
|
315
|
-
*/
|
|
316
|
-
export interface DescribeAsyncContextResultResponse {
|
|
317
|
-
/**
|
|
318
|
-
* 上文日志是否已经返回
|
|
319
|
-
*/
|
|
320
|
-
PrevOver: boolean
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* 下文日志是否已经返回
|
|
324
|
-
*/
|
|
325
|
-
NextOver: boolean
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* 日志内容
|
|
329
|
-
*/
|
|
330
|
-
Results: Array<LogInfo>
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
334
|
-
*/
|
|
335
|
-
RequestId?: string
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* UploadLog请求参数结构体
|
|
340
|
-
*/
|
|
341
|
-
export interface UploadLogRequest {
|
|
342
|
-
/**
|
|
343
|
-
* 主题id
|
|
344
|
-
*/
|
|
345
|
-
TopicId: string
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* 根据 hashkey 写入相应范围的主题分区
|
|
349
|
-
*/
|
|
350
|
-
HashKey?: string
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* 压缩方法
|
|
354
|
-
*/
|
|
355
|
-
CompressType?: string
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* CreateAsyncContextTask请求参数结构体
|
|
360
|
-
*/
|
|
361
|
-
export interface CreateAsyncContextTaskRequest {
|
|
362
|
-
/**
|
|
363
|
-
* 日志主题ID
|
|
364
|
-
*/
|
|
365
|
-
TopicId: string
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* 日志时间,单位ms
|
|
369
|
-
*/
|
|
370
|
-
Time: number
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* 日志包序号
|
|
374
|
-
*/
|
|
375
|
-
PkgId: string
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* 日志包内一条日志的序号
|
|
379
|
-
*/
|
|
380
|
-
PkgLogId: string
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* 日志集ID
|
|
384
|
-
*/
|
|
385
|
-
LogsetId: string
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* 异步检索任务ID
|
|
389
|
-
*/
|
|
390
|
-
AsyncSearchTaskId: string
|
|
391
|
-
}
|
|
392
|
-
|
|
393
313
|
/**
|
|
394
314
|
* CreateLogset请求参数结构体
|
|
395
315
|
*/
|
|
@@ -578,18 +498,18 @@ export interface DescribeAlarmsRequest {
|
|
|
578
498
|
}
|
|
579
499
|
|
|
580
500
|
/**
|
|
581
|
-
*
|
|
501
|
+
* MergePartition请求参数结构体
|
|
582
502
|
*/
|
|
583
|
-
export interface
|
|
503
|
+
export interface MergePartitionRequest {
|
|
584
504
|
/**
|
|
585
|
-
*
|
|
505
|
+
* 日志主题ID
|
|
586
506
|
*/
|
|
587
|
-
|
|
507
|
+
TopicId: string
|
|
588
508
|
|
|
589
509
|
/**
|
|
590
|
-
*
|
|
510
|
+
* 合并的PartitionId
|
|
591
511
|
*/
|
|
592
|
-
|
|
512
|
+
PartitionId: number
|
|
593
513
|
}
|
|
594
514
|
|
|
595
515
|
/**
|
|
@@ -745,16 +665,6 @@ export interface CreateLogsetResponse {
|
|
|
745
665
|
RequestId?: string
|
|
746
666
|
}
|
|
747
667
|
|
|
748
|
-
/**
|
|
749
|
-
* DeleteAsyncContextTask返回参数结构体
|
|
750
|
-
*/
|
|
751
|
-
export interface DeleteAsyncContextTaskResponse {
|
|
752
|
-
/**
|
|
753
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
754
|
-
*/
|
|
755
|
-
RequestId?: string
|
|
756
|
-
}
|
|
757
|
-
|
|
758
668
|
/**
|
|
759
669
|
* DeleteMachineGroup返回参数结构体
|
|
760
670
|
*/
|
|
@@ -781,103 +691,118 @@ export interface Tag {
|
|
|
781
691
|
}
|
|
782
692
|
|
|
783
693
|
/**
|
|
784
|
-
*
|
|
694
|
+
* DescribeMachineGroups请求参数结构体
|
|
785
695
|
*/
|
|
786
|
-
export interface
|
|
696
|
+
export interface DescribeMachineGroupsRequest {
|
|
787
697
|
/**
|
|
788
|
-
|
|
789
|
-
*/
|
|
790
|
-
AsyncContextTaskId: string
|
|
698
|
+
* <br><li> machineGroupName
|
|
791
699
|
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
*/
|
|
795
|
-
PkgId: string
|
|
700
|
+
按照【机器组名称】进行过滤。
|
|
701
|
+
类型:String
|
|
796
702
|
|
|
797
|
-
|
|
798
|
-
* 日志在日志包内的序号
|
|
799
|
-
*/
|
|
800
|
-
PkgLogId: string
|
|
703
|
+
必选:否
|
|
801
704
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
705
|
+
<br><li> machineGroupId
|
|
706
|
+
|
|
707
|
+
按照【机器组ID】进行过滤。
|
|
708
|
+
类型:String
|
|
709
|
+
|
|
710
|
+
必选:否
|
|
711
|
+
|
|
712
|
+
<br><li> tagKey
|
|
713
|
+
|
|
714
|
+
按照【标签键】进行过滤。
|
|
715
|
+
|
|
716
|
+
类型:String
|
|
717
|
+
|
|
718
|
+
必选:否
|
|
719
|
+
|
|
720
|
+
<br><li> tag:tagKey
|
|
721
|
+
|
|
722
|
+
按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。
|
|
723
|
+
类型:String
|
|
724
|
+
|
|
725
|
+
必选:否
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
每次请求的Filters的上限为10,Filter.Values的上限为5。
|
|
729
|
+
*/
|
|
730
|
+
Filters?: Array<Filter>
|
|
806
731
|
|
|
807
732
|
/**
|
|
808
|
-
*
|
|
733
|
+
* 分页的偏移量,默认值为0
|
|
809
734
|
*/
|
|
810
|
-
|
|
735
|
+
Offset?: number
|
|
811
736
|
|
|
812
737
|
/**
|
|
813
|
-
*
|
|
738
|
+
* 分页单页的限制数目,默认值为20,最大值100
|
|
814
739
|
*/
|
|
815
|
-
|
|
740
|
+
Limit?: number
|
|
816
741
|
}
|
|
817
742
|
|
|
818
743
|
/**
|
|
819
|
-
*
|
|
744
|
+
* 日志提取规则
|
|
820
745
|
*/
|
|
821
|
-
export interface
|
|
746
|
+
export interface ExtractRuleInfo {
|
|
822
747
|
/**
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
748
|
+
* 时间字段的key名字,time_key和time_format必须成对出现
|
|
749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
750
|
+
*/
|
|
751
|
+
TimeKey?: string
|
|
827
752
|
|
|
828
|
-
/**
|
|
829
|
-
* DescribeExports请求参数结构体
|
|
830
|
-
*/
|
|
831
|
-
export interface DescribeExportsRequest {
|
|
832
753
|
/**
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
754
|
+
* 时间字段的格式,参考c语言的strftime函数对于时间的格式说明输出参数
|
|
755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
756
|
+
*/
|
|
757
|
+
TimeFormat?: string
|
|
836
758
|
|
|
837
759
|
/**
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
760
|
+
* 分隔符类型日志的分隔符,只有log_type为delimiter_log时有效
|
|
761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
762
|
+
*/
|
|
763
|
+
Delimiter?: string
|
|
841
764
|
|
|
842
765
|
/**
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
766
|
+
* 整条日志匹配规则,只有log_type为fullregex_log时有效
|
|
767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
768
|
+
*/
|
|
769
|
+
LogRegex?: string
|
|
847
770
|
|
|
848
|
-
/**
|
|
849
|
-
* CreateAsyncSearchTask请求参数结构体
|
|
850
|
-
*/
|
|
851
|
-
export interface CreateAsyncSearchTaskRequest {
|
|
852
771
|
/**
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
772
|
+
* 行首匹配规则,只有log_type为multiline_log或fullregex_log时有效
|
|
773
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
774
|
+
*/
|
|
775
|
+
BeginRegex?: string
|
|
856
776
|
|
|
857
777
|
/**
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
778
|
+
* 取的每个字段的key名字,为空的key代表丢弃这个字段,只有log_type为delimiter_log时有效,json_log的日志使用json本身的key
|
|
779
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
780
|
+
*/
|
|
781
|
+
Keys?: Array<string>
|
|
861
782
|
|
|
862
783
|
/**
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
784
|
+
* 需要过滤日志的key,及其对应的regex
|
|
785
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
786
|
+
*/
|
|
787
|
+
FilterKeyRegex?: Array<KeyRegexInfo>
|
|
866
788
|
|
|
867
789
|
/**
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
790
|
+
* 解析失败日志是否上传,true表示上传,false表示不上传
|
|
791
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
792
|
+
*/
|
|
793
|
+
UnMatchUpLoadSwitch?: boolean
|
|
871
794
|
|
|
872
795
|
/**
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
796
|
+
* 失败日志的key
|
|
797
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
798
|
+
*/
|
|
799
|
+
UnMatchLogKey?: string
|
|
876
800
|
|
|
877
801
|
/**
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
802
|
+
* 增量采集模式下的回溯数据量,默认-1(全量采集)
|
|
803
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
804
|
+
*/
|
|
805
|
+
Backtracking?: number
|
|
881
806
|
}
|
|
882
807
|
|
|
883
808
|
/**
|
|
@@ -1582,75 +1507,18 @@ export interface MachineGroupInfo {
|
|
|
1582
1507
|
}
|
|
1583
1508
|
|
|
1584
1509
|
/**
|
|
1585
|
-
*
|
|
1510
|
+
* 标签索引配置信息
|
|
1586
1511
|
*/
|
|
1587
|
-
export interface
|
|
1588
|
-
/**
|
|
1589
|
-
* <br><li> machineGroupName
|
|
1590
|
-
|
|
1591
|
-
按照【机器组名称】进行过滤。
|
|
1592
|
-
类型:String
|
|
1593
|
-
|
|
1594
|
-
必选:否
|
|
1595
|
-
|
|
1596
|
-
<br><li> machineGroupId
|
|
1597
|
-
|
|
1598
|
-
按照【机器组ID】进行过滤。
|
|
1599
|
-
类型:String
|
|
1600
|
-
|
|
1601
|
-
必选:否
|
|
1602
|
-
|
|
1603
|
-
<br><li> tagKey
|
|
1604
|
-
|
|
1605
|
-
按照【标签键】进行过滤。
|
|
1606
|
-
|
|
1607
|
-
类型:String
|
|
1608
|
-
|
|
1609
|
-
必选:否
|
|
1610
|
-
|
|
1611
|
-
<br><li> tag:tagKey
|
|
1612
|
-
|
|
1613
|
-
按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。
|
|
1614
|
-
类型:String
|
|
1615
|
-
|
|
1616
|
-
必选:否
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
每次请求的Filters的上限为10,Filter.Values的上限为5。
|
|
1620
|
-
*/
|
|
1621
|
-
Filters?: Array<Filter>
|
|
1622
|
-
|
|
1623
|
-
/**
|
|
1624
|
-
* 分页的偏移量,默认值为0
|
|
1625
|
-
*/
|
|
1626
|
-
Offset?: number
|
|
1627
|
-
|
|
1512
|
+
export interface RuleTagInfo {
|
|
1628
1513
|
/**
|
|
1629
|
-
*
|
|
1514
|
+
* 是否大小写敏感
|
|
1630
1515
|
*/
|
|
1631
|
-
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
/**
|
|
1635
|
-
* DescribeAsyncContextTasks返回参数结构体
|
|
1636
|
-
*/
|
|
1637
|
-
export interface DescribeAsyncContextTasksResponse {
|
|
1638
|
-
/**
|
|
1639
|
-
* 异步上下文任务列表
|
|
1640
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1641
|
-
*/
|
|
1642
|
-
AsyncContextTasks: Array<AsyncContextTask>
|
|
1643
|
-
|
|
1644
|
-
/**
|
|
1645
|
-
* 异步上下文任务的总数
|
|
1646
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1647
|
-
*/
|
|
1648
|
-
TotalCount: number
|
|
1516
|
+
CaseSensitive: boolean
|
|
1649
1517
|
|
|
1650
1518
|
/**
|
|
1651
|
-
*
|
|
1519
|
+
* 标签索引配置中的字段信息
|
|
1652
1520
|
*/
|
|
1653
|
-
|
|
1521
|
+
KeyValues: Array<KeyValueInfo>
|
|
1654
1522
|
}
|
|
1655
1523
|
|
|
1656
1524
|
/**
|
|
@@ -1804,41 +1672,6 @@ export interface GetAlarmLogResponse {
|
|
|
1804
1672
|
RequestId?: string
|
|
1805
1673
|
}
|
|
1806
1674
|
|
|
1807
|
-
/**
|
|
1808
|
-
* DescribeAsyncSearchTasks请求参数结构体
|
|
1809
|
-
*/
|
|
1810
|
-
export interface DescribeAsyncSearchTasksRequest {
|
|
1811
|
-
/**
|
|
1812
|
-
* 分页的偏移量,默认值为0
|
|
1813
|
-
*/
|
|
1814
|
-
Offset?: number
|
|
1815
|
-
|
|
1816
|
-
/**
|
|
1817
|
-
* 分页单页限制数目,默认值为20,最大值100
|
|
1818
|
-
*/
|
|
1819
|
-
Limit?: number
|
|
1820
|
-
|
|
1821
|
-
/**
|
|
1822
|
-
* <br><li> topicId
|
|
1823
|
-
|
|
1824
|
-
按照【日志主题ID】进行过滤。
|
|
1825
|
-
类型:String
|
|
1826
|
-
|
|
1827
|
-
必选:否
|
|
1828
|
-
|
|
1829
|
-
<br><li> logsetId
|
|
1830
|
-
|
|
1831
|
-
按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。
|
|
1832
|
-
|
|
1833
|
-
类型:String
|
|
1834
|
-
|
|
1835
|
-
必选:否
|
|
1836
|
-
|
|
1837
|
-
每次请求的Filters的上限为10,Filter.Values的上限为5
|
|
1838
|
-
*/
|
|
1839
|
-
Filters?: Array<Filter>
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
1675
|
/**
|
|
1843
1676
|
* CreateTopic请求参数结构体
|
|
1844
1677
|
*/
|
|
@@ -1885,34 +1718,14 @@ export interface CreateTopicRequest {
|
|
|
1885
1718
|
}
|
|
1886
1719
|
|
|
1887
1720
|
/**
|
|
1888
|
-
*
|
|
1721
|
+
* DescribeExports请求参数结构体
|
|
1889
1722
|
*/
|
|
1890
|
-
export interface
|
|
1891
|
-
/**
|
|
1892
|
-
* 加载后续内容的Context
|
|
1893
|
-
*/
|
|
1894
|
-
Context: string
|
|
1895
|
-
|
|
1896
|
-
/**
|
|
1897
|
-
* 日志查询结果是否全部返回
|
|
1898
|
-
*/
|
|
1899
|
-
ListOver: boolean
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* 日志内容
|
|
1903
|
-
*/
|
|
1904
|
-
Results: Array<LogInfo>
|
|
1905
|
-
|
|
1723
|
+
export interface DescribeExportsRequest {
|
|
1906
1724
|
/**
|
|
1907
|
-
*
|
|
1725
|
+
* 日志主题ID
|
|
1908
1726
|
*/
|
|
1909
|
-
|
|
1910
|
-
}
|
|
1727
|
+
TopicId: string
|
|
1911
1728
|
|
|
1912
|
-
/**
|
|
1913
|
-
* DescribeAsyncContextTasks请求参数结构体
|
|
1914
|
-
*/
|
|
1915
|
-
export interface DescribeAsyncContextTasksRequest {
|
|
1916
1729
|
/**
|
|
1917
1730
|
* 分页的偏移量,默认值为0
|
|
1918
1731
|
*/
|
|
@@ -1922,26 +1735,6 @@ export interface DescribeAsyncContextTasksRequest {
|
|
|
1922
1735
|
* 分页单页限制数目,默认值为20,最大值100
|
|
1923
1736
|
*/
|
|
1924
1737
|
Limit?: number
|
|
1925
|
-
|
|
1926
|
-
/**
|
|
1927
|
-
* <br><li> topicId
|
|
1928
|
-
|
|
1929
|
-
按照【日志主题ID】进行过滤。
|
|
1930
|
-
类型:String
|
|
1931
|
-
|
|
1932
|
-
必选:否
|
|
1933
|
-
|
|
1934
|
-
<br><li> logsetId
|
|
1935
|
-
|
|
1936
|
-
按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。
|
|
1937
|
-
|
|
1938
|
-
类型:String
|
|
1939
|
-
|
|
1940
|
-
必选:否
|
|
1941
|
-
|
|
1942
|
-
每次请求的Filters的上限为10,Filter.Values的上限为5
|
|
1943
|
-
*/
|
|
1944
|
-
Filters?: Array<Filter>
|
|
1945
1738
|
}
|
|
1946
1739
|
|
|
1947
1740
|
/**
|
|
@@ -2051,134 +1844,23 @@ export interface DescribeConsumerResponse {
|
|
|
2051
1844
|
}
|
|
2052
1845
|
|
|
2053
1846
|
/**
|
|
2054
|
-
*
|
|
2055
|
-
*/
|
|
2056
|
-
export interface ExtractRuleInfo {
|
|
2057
|
-
/**
|
|
2058
|
-
* 时间字段的key名字,time_key和time_format必须成对出现
|
|
2059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2060
|
-
*/
|
|
2061
|
-
TimeKey?: string
|
|
2062
|
-
|
|
2063
|
-
/**
|
|
2064
|
-
* 时间字段的格式,参考c语言的strftime函数对于时间的格式说明输出参数
|
|
2065
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2066
|
-
*/
|
|
2067
|
-
TimeFormat?: string
|
|
2068
|
-
|
|
2069
|
-
/**
|
|
2070
|
-
* 分隔符类型日志的分隔符,只有log_type为delimiter_log时有效
|
|
2071
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2072
|
-
*/
|
|
2073
|
-
Delimiter?: string
|
|
2074
|
-
|
|
2075
|
-
/**
|
|
2076
|
-
* 整条日志匹配规则,只有log_type为fullregex_log时有效
|
|
2077
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2078
|
-
*/
|
|
2079
|
-
LogRegex?: string
|
|
2080
|
-
|
|
2081
|
-
/**
|
|
2082
|
-
* 行首匹配规则,只有log_type为multiline_log或fullregex_log时有效
|
|
2083
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2084
|
-
*/
|
|
2085
|
-
BeginRegex?: string
|
|
2086
|
-
|
|
2087
|
-
/**
|
|
2088
|
-
* 取的每个字段的key名字,为空的key代表丢弃这个字段,只有log_type为delimiter_log时有效,json_log的日志使用json本身的key
|
|
2089
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2090
|
-
*/
|
|
2091
|
-
Keys?: Array<string>
|
|
2092
|
-
|
|
2093
|
-
/**
|
|
2094
|
-
* 需要过滤日志的key,及其对应的regex
|
|
2095
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2096
|
-
*/
|
|
2097
|
-
FilterKeyRegex?: Array<KeyRegexInfo>
|
|
2098
|
-
|
|
2099
|
-
/**
|
|
2100
|
-
* 解析失败日志是否上传,true表示上传,false表示不上传
|
|
2101
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2102
|
-
*/
|
|
2103
|
-
UnMatchUpLoadSwitch?: boolean
|
|
2104
|
-
|
|
2105
|
-
/**
|
|
2106
|
-
* 失败日志的key
|
|
2107
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2108
|
-
*/
|
|
2109
|
-
UnMatchLogKey?: string
|
|
2110
|
-
|
|
2111
|
-
/**
|
|
2112
|
-
* 增量采集模式下的回溯数据量,默认-1(全量采集)
|
|
2113
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2114
|
-
*/
|
|
2115
|
-
Backtracking?: number
|
|
2116
|
-
}
|
|
2117
|
-
|
|
2118
|
-
/**
|
|
2119
|
-
* 异步上下文任务
|
|
1847
|
+
* UploadLog请求参数结构体
|
|
2120
1848
|
*/
|
|
2121
|
-
export interface
|
|
2122
|
-
/**
|
|
2123
|
-
* 日志集ID
|
|
2124
|
-
*/
|
|
2125
|
-
LogsetId: string
|
|
2126
|
-
|
|
1849
|
+
export interface UploadLogRequest {
|
|
2127
1850
|
/**
|
|
2128
|
-
*
|
|
1851
|
+
* 主题id
|
|
2129
1852
|
*/
|
|
2130
1853
|
TopicId: string
|
|
2131
1854
|
|
|
2132
1855
|
/**
|
|
2133
|
-
*
|
|
2134
|
-
*/
|
|
2135
|
-
CreateTime: number
|
|
2136
|
-
|
|
2137
|
-
/**
|
|
2138
|
-
* 状态,0表示待开始,1表示运行中,2表示已完成,-1表示失败
|
|
1856
|
+
* 根据 hashkey 写入相应范围的主题分区
|
|
2139
1857
|
*/
|
|
2140
|
-
|
|
1858
|
+
HashKey?: string
|
|
2141
1859
|
|
|
2142
1860
|
/**
|
|
2143
|
-
*
|
|
1861
|
+
* 压缩方法
|
|
2144
1862
|
*/
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
/**
|
|
2148
|
-
* 任务失败的错误信息
|
|
2149
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2150
|
-
*/
|
|
2151
|
-
ErrorMessage: string
|
|
2152
|
-
|
|
2153
|
-
/**
|
|
2154
|
-
* 日志包序号
|
|
2155
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2156
|
-
*/
|
|
2157
|
-
PkgId: string
|
|
2158
|
-
|
|
2159
|
-
/**
|
|
2160
|
-
* 日志包内一条日志的序号
|
|
2161
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2162
|
-
*/
|
|
2163
|
-
PkgLogId: string
|
|
2164
|
-
|
|
2165
|
-
/**
|
|
2166
|
-
* 日志时间
|
|
2167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2168
|
-
*/
|
|
2169
|
-
Time: number
|
|
2170
|
-
|
|
2171
|
-
/**
|
|
2172
|
-
* 任务完成时间,时间戳,精确到毫秒
|
|
2173
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2174
|
-
*/
|
|
2175
|
-
FinishTime: number
|
|
2176
|
-
|
|
2177
|
-
/**
|
|
2178
|
-
* 相关联的异步检索ID
|
|
2179
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2180
|
-
*/
|
|
2181
|
-
AsyncSearchTaskId: string
|
|
1863
|
+
CompressType?: string
|
|
2182
1864
|
}
|
|
2183
1865
|
|
|
2184
1866
|
/**
|
|
@@ -2299,21 +1981,6 @@ export interface LogsetInfo {
|
|
|
2299
1981
|
RoleName: string
|
|
2300
1982
|
}
|
|
2301
1983
|
|
|
2302
|
-
/**
|
|
2303
|
-
* 标签索引配置信息
|
|
2304
|
-
*/
|
|
2305
|
-
export interface RuleTagInfo {
|
|
2306
|
-
/**
|
|
2307
|
-
* 是否大小写敏感
|
|
2308
|
-
*/
|
|
2309
|
-
CaseSensitive: boolean
|
|
2310
|
-
|
|
2311
|
-
/**
|
|
2312
|
-
* 标签索引配置中的字段信息
|
|
2313
|
-
*/
|
|
2314
|
-
KeyValues: Array<KeyValueInfo>
|
|
2315
|
-
}
|
|
2316
|
-
|
|
2317
1984
|
/**
|
|
2318
1985
|
* CreateExport请求参数结构体
|
|
2319
1986
|
*/
|
|
@@ -2534,46 +2201,49 @@ export interface DeleteAlarmResponse {
|
|
|
2534
2201
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2535
2202
|
*/
|
|
2536
2203
|
RequestId?: string
|
|
2537
|
-
}
|
|
2538
|
-
|
|
2539
|
-
/**
|
|
2540
|
-
* DescribeMachines返回参数结构体
|
|
2541
|
-
*/
|
|
2542
|
-
export interface DescribeMachinesResponse {
|
|
2543
|
-
/**
|
|
2544
|
-
* 机器状态信息组
|
|
2545
|
-
*/
|
|
2546
|
-
Machines: Array<MachineInfo>
|
|
2204
|
+
}
|
|
2547
2205
|
|
|
2206
|
+
/**
|
|
2207
|
+
* 回调地址
|
|
2208
|
+
*/
|
|
2209
|
+
export interface WebCallback {
|
|
2548
2210
|
/**
|
|
2549
|
-
*
|
|
2211
|
+
* 回调地址。
|
|
2550
2212
|
*/
|
|
2551
|
-
|
|
2213
|
+
Url: string
|
|
2552
2214
|
|
|
2553
2215
|
/**
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2216
|
+
* 回调的类型。可选值:
|
|
2217
|
+
<br><li> WeCom
|
|
2218
|
+
<br><li> Http
|
|
2219
|
+
*/
|
|
2220
|
+
CallbackType: string
|
|
2557
2221
|
|
|
2558
2222
|
/**
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2223
|
+
* 回调方法。可选值:
|
|
2224
|
+
<br><li> POST
|
|
2225
|
+
<br><li> PUT
|
|
2226
|
+
默认值为POST。CallbackType为Http时为必选。
|
|
2227
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2228
|
+
*/
|
|
2229
|
+
Method?: string
|
|
2562
2230
|
|
|
2563
2231
|
/**
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2232
|
+
* 请求头。
|
|
2233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2234
|
+
*/
|
|
2235
|
+
Headers?: Array<string>
|
|
2567
2236
|
|
|
2568
2237
|
/**
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2238
|
+
* 请求内容。CallbackType为Http时为必选。
|
|
2239
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2240
|
+
*/
|
|
2241
|
+
Body?: string
|
|
2572
2242
|
|
|
2573
2243
|
/**
|
|
2574
|
-
*
|
|
2244
|
+
* 序号
|
|
2575
2245
|
*/
|
|
2576
|
-
|
|
2246
|
+
Index?: number
|
|
2577
2247
|
}
|
|
2578
2248
|
|
|
2579
2249
|
/**
|
|
@@ -2686,21 +2356,6 @@ export interface DeleteIndexResponse {
|
|
|
2686
2356
|
RequestId?: string
|
|
2687
2357
|
}
|
|
2688
2358
|
|
|
2689
|
-
/**
|
|
2690
|
-
* DeleteAsyncContextTask请求参数结构体
|
|
2691
|
-
*/
|
|
2692
|
-
export interface DeleteAsyncContextTaskRequest {
|
|
2693
|
-
/**
|
|
2694
|
-
* 日志主题ID
|
|
2695
|
-
*/
|
|
2696
|
-
TopicId: string
|
|
2697
|
-
|
|
2698
|
-
/**
|
|
2699
|
-
* 异步上下文任务ID
|
|
2700
|
-
*/
|
|
2701
|
-
AsyncContextTaskId: string
|
|
2702
|
-
}
|
|
2703
|
-
|
|
2704
2359
|
/**
|
|
2705
2360
|
* ModifyIndex请求参数结构体
|
|
2706
2361
|
*/
|
|
@@ -2812,16 +2467,6 @@ export interface GetAlarmLogRequest {
|
|
|
2812
2467
|
UseNewAnalysis?: boolean
|
|
2813
2468
|
}
|
|
2814
2469
|
|
|
2815
|
-
/**
|
|
2816
|
-
* DescribeMachines请求参数结构体
|
|
2817
|
-
*/
|
|
2818
|
-
export interface DescribeMachinesRequest {
|
|
2819
|
-
/**
|
|
2820
|
-
* 查询的机器组ID
|
|
2821
|
-
*/
|
|
2822
|
-
GroupId: string
|
|
2823
|
-
}
|
|
2824
|
-
|
|
2825
2470
|
/**
|
|
2826
2471
|
* DeleteShipper返回参数结构体
|
|
2827
2472
|
*/
|
|
@@ -3109,31 +2754,6 @@ export interface DescribeLogContextResponse {
|
|
|
3109
2754
|
RequestId?: string
|
|
3110
2755
|
}
|
|
3111
2756
|
|
|
3112
|
-
/**
|
|
3113
|
-
* DescribeAsyncSearchResult请求参数结构体
|
|
3114
|
-
*/
|
|
3115
|
-
export interface DescribeAsyncSearchResultRequest {
|
|
3116
|
-
/**
|
|
3117
|
-
* 异步检索任务ID
|
|
3118
|
-
*/
|
|
3119
|
-
AsyncSearchTaskId: string
|
|
3120
|
-
|
|
3121
|
-
/**
|
|
3122
|
-
* 日志集ID
|
|
3123
|
-
*/
|
|
3124
|
-
TopicId: string
|
|
3125
|
-
|
|
3126
|
-
/**
|
|
3127
|
-
* 加载更多日志时使用,透传上次返回的Context值,获取后续的日志内容
|
|
3128
|
-
*/
|
|
3129
|
-
Context?: string
|
|
3130
|
-
|
|
3131
|
-
/**
|
|
3132
|
-
* 单次调用返回的日志条数,默认为20,最大为500
|
|
3133
|
-
*/
|
|
3134
|
-
Limit?: number
|
|
3135
|
-
}
|
|
3136
|
-
|
|
3137
2757
|
/**
|
|
3138
2758
|
* CreateConsumer请求参数结构体
|
|
3139
2759
|
*/
|
|
@@ -3228,20 +2848,38 @@ export interface ModifyAlarmNoticeResponse {
|
|
|
3228
2848
|
}
|
|
3229
2849
|
|
|
3230
2850
|
/**
|
|
3231
|
-
*
|
|
2851
|
+
* DescribeMachines返回参数结构体
|
|
3232
2852
|
*/
|
|
3233
|
-
export interface
|
|
2853
|
+
export interface DescribeMachinesResponse {
|
|
3234
2854
|
/**
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
AsyncSearchTasks: Array<AsyncSearchTask>
|
|
2855
|
+
* 机器状态信息组
|
|
2856
|
+
*/
|
|
2857
|
+
Machines: Array<MachineInfo>
|
|
3239
2858
|
|
|
3240
2859
|
/**
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
2860
|
+
* 机器组是否开启自动升级功能
|
|
2861
|
+
*/
|
|
2862
|
+
AutoUpdate: number
|
|
2863
|
+
|
|
2864
|
+
/**
|
|
2865
|
+
* 机器组自动升级功能预设开始时间
|
|
2866
|
+
*/
|
|
2867
|
+
UpdateStartTime: string
|
|
2868
|
+
|
|
2869
|
+
/**
|
|
2870
|
+
* 机器组自动升级功能预设结束时间
|
|
2871
|
+
*/
|
|
2872
|
+
UpdateEndTime: string
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* 当前用户可用最新的Loglistener版本
|
|
2876
|
+
*/
|
|
2877
|
+
LatestAgentVersion: string
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* 是否开启服务日志
|
|
2881
|
+
*/
|
|
2882
|
+
ServiceLogging: boolean
|
|
3245
2883
|
|
|
3246
2884
|
/**
|
|
3247
2885
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3424,21 +3062,6 @@ export interface KeyValueInfo {
|
|
|
3424
3062
|
Value: ValueInfo
|
|
3425
3063
|
}
|
|
3426
3064
|
|
|
3427
|
-
/**
|
|
3428
|
-
* DeleteAsyncSearchTask请求参数结构体
|
|
3429
|
-
*/
|
|
3430
|
-
export interface DeleteAsyncSearchTaskRequest {
|
|
3431
|
-
/**
|
|
3432
|
-
* 异步检索任务ID
|
|
3433
|
-
*/
|
|
3434
|
-
AsyncSearchTaskId: string
|
|
3435
|
-
|
|
3436
|
-
/**
|
|
3437
|
-
* 日志主题ID
|
|
3438
|
-
*/
|
|
3439
|
-
TopicId: string
|
|
3440
|
-
}
|
|
3441
|
-
|
|
3442
3065
|
/**
|
|
3443
3066
|
* ModifyMachineGroup请求参数结构体
|
|
3444
3067
|
*/
|
|
@@ -3484,21 +3107,6 @@ export interface ModifyMachineGroupRequest {
|
|
|
3484
3107
|
ServiceLogging?: boolean
|
|
3485
3108
|
}
|
|
3486
3109
|
|
|
3487
|
-
/**
|
|
3488
|
-
* MergePartition请求参数结构体
|
|
3489
|
-
*/
|
|
3490
|
-
export interface MergePartitionRequest {
|
|
3491
|
-
/**
|
|
3492
|
-
* 日志主题ID
|
|
3493
|
-
*/
|
|
3494
|
-
TopicId: string
|
|
3495
|
-
|
|
3496
|
-
/**
|
|
3497
|
-
* 合并的PartitionId
|
|
3498
|
-
*/
|
|
3499
|
-
PartitionId: number
|
|
3500
|
-
}
|
|
3501
|
-
|
|
3502
3110
|
/**
|
|
3503
3111
|
* DescribeAlarmNotices请求参数结构体
|
|
3504
3112
|
*/
|
|
@@ -3591,74 +3199,6 @@ export interface NoticeReceiver {
|
|
|
3591
3199
|
Index?: number
|
|
3592
3200
|
}
|
|
3593
3201
|
|
|
3594
|
-
/**
|
|
3595
|
-
* 异步检索任务
|
|
3596
|
-
*/
|
|
3597
|
-
export interface AsyncSearchTask {
|
|
3598
|
-
/**
|
|
3599
|
-
* 日志集ID
|
|
3600
|
-
*/
|
|
3601
|
-
LogsetId: string
|
|
3602
|
-
|
|
3603
|
-
/**
|
|
3604
|
-
* 日志主题ID
|
|
3605
|
-
*/
|
|
3606
|
-
TopicId: string
|
|
3607
|
-
|
|
3608
|
-
/**
|
|
3609
|
-
* 创建时间
|
|
3610
|
-
*/
|
|
3611
|
-
CreateTime: string
|
|
3612
|
-
|
|
3613
|
-
/**
|
|
3614
|
-
* 状态,0表示待开始,1表示运行中,2表示已完成,-1表示失败
|
|
3615
|
-
*/
|
|
3616
|
-
Status: number
|
|
3617
|
-
|
|
3618
|
-
/**
|
|
3619
|
-
* 异步检索任务ID
|
|
3620
|
-
*/
|
|
3621
|
-
AsyncSearchTaskId: string
|
|
3622
|
-
|
|
3623
|
-
/**
|
|
3624
|
-
* 查询语句
|
|
3625
|
-
*/
|
|
3626
|
-
Query: string
|
|
3627
|
-
|
|
3628
|
-
/**
|
|
3629
|
-
* 要查询的日志的起始时间,Unix时间戳,单位ms
|
|
3630
|
-
*/
|
|
3631
|
-
From: number
|
|
3632
|
-
|
|
3633
|
-
/**
|
|
3634
|
-
* 要查询的日志的结束时间,Unix时间戳,单位ms
|
|
3635
|
-
*/
|
|
3636
|
-
To: number
|
|
3637
|
-
|
|
3638
|
-
/**
|
|
3639
|
-
* 日志扫描顺序,可选值:asc(升序)、desc(降序)
|
|
3640
|
-
*/
|
|
3641
|
-
Sort: string
|
|
3642
|
-
|
|
3643
|
-
/**
|
|
3644
|
-
* 任务失败的错误信息
|
|
3645
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3646
|
-
*/
|
|
3647
|
-
ErrorMessage: string
|
|
3648
|
-
|
|
3649
|
-
/**
|
|
3650
|
-
* 异步检索任务匹配的总日志条数
|
|
3651
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3652
|
-
*/
|
|
3653
|
-
LogCount: number
|
|
3654
|
-
|
|
3655
|
-
/**
|
|
3656
|
-
* 任务完成时间
|
|
3657
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3658
|
-
*/
|
|
3659
|
-
FinishTime: string
|
|
3660
|
-
}
|
|
3661
|
-
|
|
3662
3202
|
/**
|
|
3663
3203
|
* CKafka的描述-需要投递到的kafka信息
|
|
3664
3204
|
*/
|
|
@@ -3695,52 +3235,14 @@ export interface Ckafka {
|
|
|
3695
3235
|
}
|
|
3696
3236
|
|
|
3697
3237
|
/**
|
|
3698
|
-
*
|
|
3238
|
+
* CreateExport返回参数结构体
|
|
3699
3239
|
*/
|
|
3700
|
-
export interface
|
|
3701
|
-
/**
|
|
3702
|
-
* 回调地址。
|
|
3703
|
-
*/
|
|
3704
|
-
Url: string
|
|
3705
|
-
|
|
3706
|
-
/**
|
|
3707
|
-
* 回调的类型。可选值:
|
|
3708
|
-
<br><li> WeCom
|
|
3709
|
-
<br><li> Http
|
|
3710
|
-
*/
|
|
3711
|
-
CallbackType: string
|
|
3712
|
-
|
|
3713
|
-
/**
|
|
3714
|
-
* 回调方法。可选值:
|
|
3715
|
-
<br><li> POST
|
|
3716
|
-
<br><li> PUT
|
|
3717
|
-
默认值为POST。CallbackType为Http时为必选。
|
|
3718
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3719
|
-
*/
|
|
3720
|
-
Method?: string
|
|
3721
|
-
|
|
3722
|
-
/**
|
|
3723
|
-
* 请求头。
|
|
3724
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3725
|
-
*/
|
|
3726
|
-
Headers?: Array<string>
|
|
3727
|
-
|
|
3728
|
-
/**
|
|
3729
|
-
* 请求内容。CallbackType为Http时为必选。
|
|
3730
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3731
|
-
*/
|
|
3732
|
-
Body?: string
|
|
3733
|
-
|
|
3240
|
+
export interface CreateExportResponse {
|
|
3734
3241
|
/**
|
|
3735
|
-
*
|
|
3242
|
+
* 日志导出ID。
|
|
3736
3243
|
*/
|
|
3737
|
-
|
|
3738
|
-
}
|
|
3244
|
+
ExportId: string
|
|
3739
3245
|
|
|
3740
|
-
/**
|
|
3741
|
-
* CreateAsyncSearchTask返回参数结构体
|
|
3742
|
-
*/
|
|
3743
|
-
export interface CreateAsyncSearchTaskResponse {
|
|
3744
3246
|
/**
|
|
3745
3247
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3746
3248
|
*/
|
|
@@ -4209,18 +3711,13 @@ export interface ConsumerContent {
|
|
|
4209
3711
|
}
|
|
4210
3712
|
|
|
4211
3713
|
/**
|
|
4212
|
-
*
|
|
3714
|
+
* DescribeMachines请求参数结构体
|
|
4213
3715
|
*/
|
|
4214
|
-
export interface
|
|
4215
|
-
/**
|
|
4216
|
-
* 日志导出ID。
|
|
4217
|
-
*/
|
|
4218
|
-
ExportId: string
|
|
4219
|
-
|
|
3716
|
+
export interface DescribeMachinesRequest {
|
|
4220
3717
|
/**
|
|
4221
|
-
*
|
|
3718
|
+
* 查询的机器组ID
|
|
4222
3719
|
*/
|
|
4223
|
-
|
|
3720
|
+
GroupId: string
|
|
4224
3721
|
}
|
|
4225
3722
|
|
|
4226
3723
|
/**
|