tencentcloud-sdk-python-cls 3.1.157__tar.gz → 3.1.160__tar.gz
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.
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud/cls/v20201016/models.py +135 -148
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.160/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.157/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.157 → tencentcloud_sdk_python_cls-3.1.160}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.160
|
|
4
4
|
Summary: Tencent Cloud Cls SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.160
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cls',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.160,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -8983,45 +8983,23 @@ class CreateConfigRequest(AbstractModel):
|
|
|
8983
8983
|
|
|
8984
8984
|
def __init__(self):
|
|
8985
8985
|
r"""
|
|
8986
|
-
:param _Name:
|
|
8987
|
-
- 名称种不得包含特殊字符|
|
|
8988
|
-
- 名称最长255字符,超过截断
|
|
8986
|
+
:param _Name: <p>采集配置名称</p><ul><li>名称种不得包含特殊字符|</li><li>名称最长255字符,超过截断</li></ul>
|
|
8989
8987
|
:type Name: str
|
|
8990
|
-
:param _Output:
|
|
8991
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
8988
|
+
:param _Output: <p>采集配置所属日志主题ID即TopicId</p><ul><li>通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</li></ul>
|
|
8992
8989
|
:type Output: str
|
|
8993
|
-
:param _Path:
|
|
8990
|
+
:param _Path: <p>日志采集路径,包含文件名,支持多个路径,多个路径之间英文逗号分隔,文件采集情况下必填</p>
|
|
8994
8991
|
:type Path: str
|
|
8995
|
-
:param _LogType:
|
|
8996
|
-
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
8997
|
-
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
8998
|
-
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
8999
|
-
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
9000
|
-
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
9001
|
-
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
9002
|
-
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
|
9003
|
-
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
|
9004
|
-
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
|
8992
|
+
:param _LogType: <p>采集的日志类型,默认为minimalist_log。支持以下类型:</p><ul><li>json_log代表:JSON-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17419">使用 JSON 提取模式采集日志</a>);</li><li>delimiter_log代表:分隔符-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17420">使用分隔符提取模式采集日志</a>);</li><li>minimalist_log代表:单行全文-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17421">使用单行全文提取模式采集日志</a>);</li><li>fullregex_log代表:单行完全正则-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/52365">使用单行-完全正则提取模式采集日志</a>);</li><li>multiline_log代表:多行全文-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17422">使用多行全文提取模式采集日志</a>);</li><li>multiline_fullregex_log代表:多行完全正则-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/52366">使用多行-完全正则提取模式采集日志</a>);</li><li>user_define_log代表:组合解析(适用于多格式嵌套的日志,详见<a href="https://cloud.tencent.com/document/product/614/61310">使用组合解析提取模式采集日志</a>);</li><li>service_syslog代表:syslog 采集(详见<a href="https://cloud.tencent.com/document/product/614/81454">采集 Syslog</a>);</li><li>windows_event_log代表:Windows事件日志(详见<a href="https://cloud.tencent.com/document/product/614/96678">采集 Windows 事件日志</a>)。</li><li>journal_log代表:journal日志采集</li></ul>
|
|
9005
8993
|
:type LogType: str
|
|
9006
|
-
:param _ExtractRule:
|
|
8994
|
+
:param _ExtractRule: <p>提取规则,如果设置了ExtractRule,则必须设置LogType</p>
|
|
9007
8995
|
:type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
|
9008
|
-
:param _ExcludePaths:
|
|
8996
|
+
:param _ExcludePaths: <p>采集黑名单路径列表</p>
|
|
9009
8997
|
:type ExcludePaths: list of ExcludePathInfo
|
|
9010
|
-
:param _UserDefineRule:
|
|
8998
|
+
:param _UserDefineRule: <p>用户自定义采集规则,Json格式序列化的字符串。当LogType为user_define_log时,必填。</p>
|
|
9011
8999
|
:type UserDefineRule: str
|
|
9012
|
-
:param _AdvancedConfig:
|
|
9013
|
-
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
9014
|
-
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
9015
|
-
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
9016
|
-
样例:
|
|
9017
|
-
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
|
9018
|
-
|
|
9019
|
-
控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
|
9000
|
+
:param _AdvancedConfig: <p>高级采集配置。 Json字符串, Key/Value定义为如下:</p><ul><li>ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时</li><li>ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数</li><li>ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false<br>样例:<br><code>{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}</code></li></ul><p>控制台默认占位值:<code>{\"ClsAgentDefault\":0}</code></p>
|
|
9020
9001
|
:type AdvancedConfig: str
|
|
9021
|
-
:param _InputType:
|
|
9022
|
-
- file: 文件类型采集
|
|
9023
|
-
- windows_event:windows事件采集
|
|
9024
|
-
- syslog:系统日志采集
|
|
9002
|
+
:param _InputType: <p>日志输入类型(<span style="color:red; font-weight:bold">注:windows场景必填且仅支持file和windows_event类型</span>)</p><ul><li>file: 文件类型采集</li><li>windows_event:windows事件采集</li><li>syslog:系统日志采集</li></ul>
|
|
9025
9003
|
:type InputType: str
|
|
9026
9004
|
"""
|
|
9027
9005
|
self._Name = None
|
|
@@ -9036,9 +9014,7 @@ class CreateConfigRequest(AbstractModel):
|
|
|
9036
9014
|
|
|
9037
9015
|
@property
|
|
9038
9016
|
def Name(self):
|
|
9039
|
-
r"""
|
|
9040
|
-
- 名称种不得包含特殊字符|
|
|
9041
|
-
- 名称最长255字符,超过截断
|
|
9017
|
+
r"""<p>采集配置名称</p><ul><li>名称种不得包含特殊字符|</li><li>名称最长255字符,超过截断</li></ul>
|
|
9042
9018
|
:rtype: str
|
|
9043
9019
|
"""
|
|
9044
9020
|
return self._Name
|
|
@@ -9049,8 +9025,7 @@ class CreateConfigRequest(AbstractModel):
|
|
|
9049
9025
|
|
|
9050
9026
|
@property
|
|
9051
9027
|
def Output(self):
|
|
9052
|
-
r"""
|
|
9053
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
9028
|
+
r"""<p>采集配置所属日志主题ID即TopicId</p><ul><li>通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</li></ul>
|
|
9054
9029
|
:rtype: str
|
|
9055
9030
|
"""
|
|
9056
9031
|
return self._Output
|
|
@@ -9061,7 +9036,7 @@ class CreateConfigRequest(AbstractModel):
|
|
|
9061
9036
|
|
|
9062
9037
|
@property
|
|
9063
9038
|
def Path(self):
|
|
9064
|
-
r"""
|
|
9039
|
+
r"""<p>日志采集路径,包含文件名,支持多个路径,多个路径之间英文逗号分隔,文件采集情况下必填</p>
|
|
9065
9040
|
:rtype: str
|
|
9066
9041
|
"""
|
|
9067
9042
|
return self._Path
|
|
@@ -9072,16 +9047,7 @@ class CreateConfigRequest(AbstractModel):
|
|
|
9072
9047
|
|
|
9073
9048
|
@property
|
|
9074
9049
|
def LogType(self):
|
|
9075
|
-
r"""
|
|
9076
|
-
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
9077
|
-
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
9078
|
-
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
9079
|
-
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
9080
|
-
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
9081
|
-
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
9082
|
-
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
|
9083
|
-
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
|
9084
|
-
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
|
9050
|
+
r"""<p>采集的日志类型,默认为minimalist_log。支持以下类型:</p><ul><li>json_log代表:JSON-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17419">使用 JSON 提取模式采集日志</a>);</li><li>delimiter_log代表:分隔符-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17420">使用分隔符提取模式采集日志</a>);</li><li>minimalist_log代表:单行全文-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17421">使用单行全文提取模式采集日志</a>);</li><li>fullregex_log代表:单行完全正则-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/52365">使用单行-完全正则提取模式采集日志</a>);</li><li>multiline_log代表:多行全文-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17422">使用多行全文提取模式采集日志</a>);</li><li>multiline_fullregex_log代表:多行完全正则-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/52366">使用多行-完全正则提取模式采集日志</a>);</li><li>user_define_log代表:组合解析(适用于多格式嵌套的日志,详见<a href="https://cloud.tencent.com/document/product/614/61310">使用组合解析提取模式采集日志</a>);</li><li>service_syslog代表:syslog 采集(详见<a href="https://cloud.tencent.com/document/product/614/81454">采集 Syslog</a>);</li><li>windows_event_log代表:Windows事件日志(详见<a href="https://cloud.tencent.com/document/product/614/96678">采集 Windows 事件日志</a>)。</li><li>journal_log代表:journal日志采集</li></ul>
|
|
9085
9051
|
:rtype: str
|
|
9086
9052
|
"""
|
|
9087
9053
|
return self._LogType
|
|
@@ -9092,7 +9058,7 @@ class CreateConfigRequest(AbstractModel):
|
|
|
9092
9058
|
|
|
9093
9059
|
@property
|
|
9094
9060
|
def ExtractRule(self):
|
|
9095
|
-
r"""
|
|
9061
|
+
r"""<p>提取规则,如果设置了ExtractRule,则必须设置LogType</p>
|
|
9096
9062
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
|
9097
9063
|
"""
|
|
9098
9064
|
return self._ExtractRule
|
|
@@ -9103,7 +9069,7 @@ class CreateConfigRequest(AbstractModel):
|
|
|
9103
9069
|
|
|
9104
9070
|
@property
|
|
9105
9071
|
def ExcludePaths(self):
|
|
9106
|
-
r"""
|
|
9072
|
+
r"""<p>采集黑名单路径列表</p>
|
|
9107
9073
|
:rtype: list of ExcludePathInfo
|
|
9108
9074
|
"""
|
|
9109
9075
|
return self._ExcludePaths
|
|
@@ -9114,7 +9080,7 @@ class CreateConfigRequest(AbstractModel):
|
|
|
9114
9080
|
|
|
9115
9081
|
@property
|
|
9116
9082
|
def UserDefineRule(self):
|
|
9117
|
-
r"""
|
|
9083
|
+
r"""<p>用户自定义采集规则,Json格式序列化的字符串。当LogType为user_define_log时,必填。</p>
|
|
9118
9084
|
:rtype: str
|
|
9119
9085
|
"""
|
|
9120
9086
|
return self._UserDefineRule
|
|
@@ -9125,14 +9091,7 @@ class CreateConfigRequest(AbstractModel):
|
|
|
9125
9091
|
|
|
9126
9092
|
@property
|
|
9127
9093
|
def AdvancedConfig(self):
|
|
9128
|
-
r"""
|
|
9129
|
-
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
9130
|
-
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
9131
|
-
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
9132
|
-
样例:
|
|
9133
|
-
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
|
9134
|
-
|
|
9135
|
-
控制台默认占位值:`{\"ClsAgentDefault\":0}`
|
|
9094
|
+
r"""<p>高级采集配置。 Json字符串, Key/Value定义为如下:</p><ul><li>ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时</li><li>ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数</li><li>ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false<br>样例:<br><code>{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}</code></li></ul><p>控制台默认占位值:<code>{\"ClsAgentDefault\":0}</code></p>
|
|
9136
9095
|
:rtype: str
|
|
9137
9096
|
"""
|
|
9138
9097
|
return self._AdvancedConfig
|
|
@@ -9143,10 +9102,7 @@ class CreateConfigRequest(AbstractModel):
|
|
|
9143
9102
|
|
|
9144
9103
|
@property
|
|
9145
9104
|
def InputType(self):
|
|
9146
|
-
r"""
|
|
9147
|
-
- file: 文件类型采集
|
|
9148
|
-
- windows_event:windows事件采集
|
|
9149
|
-
- syslog:系统日志采集
|
|
9105
|
+
r"""<p>日志输入类型(<span style="color:red; font-weight:bold">注:windows场景必填且仅支持file和windows_event类型</span>)</p><ul><li>file: 文件类型采集</li><li>windows_event:windows事件采集</li><li>syslog:系统日志采集</li></ul>
|
|
9150
9106
|
:rtype: str
|
|
9151
9107
|
"""
|
|
9152
9108
|
return self._InputType
|
|
@@ -9190,7 +9146,7 @@ class CreateConfigResponse(AbstractModel):
|
|
|
9190
9146
|
|
|
9191
9147
|
def __init__(self):
|
|
9192
9148
|
r"""
|
|
9193
|
-
:param _ConfigId:
|
|
9149
|
+
:param _ConfigId: <p>采集配置ID</p>
|
|
9194
9150
|
:type ConfigId: str
|
|
9195
9151
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9196
9152
|
:type RequestId: str
|
|
@@ -9200,7 +9156,7 @@ class CreateConfigResponse(AbstractModel):
|
|
|
9200
9156
|
|
|
9201
9157
|
@property
|
|
9202
9158
|
def ConfigId(self):
|
|
9203
|
-
r"""
|
|
9159
|
+
r"""<p>采集配置ID</p>
|
|
9204
9160
|
:rtype: str
|
|
9205
9161
|
"""
|
|
9206
9162
|
return self._ConfigId
|
|
@@ -20932,13 +20888,13 @@ class DescribeAgentConfigsRequest(AbstractModel):
|
|
|
20932
20888
|
|
|
20933
20889
|
def __init__(self):
|
|
20934
20890
|
r"""
|
|
20935
|
-
:param _AgentVersion: agent
|
|
20891
|
+
:param _AgentVersion: <p>agent的版本号</p>
|
|
20936
20892
|
:type AgentVersion: str
|
|
20937
|
-
:param _AgentIp: agent的IP
|
|
20893
|
+
:param _AgentIp: <p>agent的IP地址</p>
|
|
20938
20894
|
:type AgentIp: str
|
|
20939
|
-
:param _Labels:
|
|
20895
|
+
:param _Labels: <p>机器组标签列表</p>
|
|
20940
20896
|
:type Labels: list of str
|
|
20941
|
-
:param _InstanceId: agent的instance id
|
|
20897
|
+
:param _InstanceId: <p>agent的instance id</p>
|
|
20942
20898
|
:type InstanceId: str
|
|
20943
20899
|
"""
|
|
20944
20900
|
self._AgentVersion = None
|
|
@@ -20948,7 +20904,7 @@ class DescribeAgentConfigsRequest(AbstractModel):
|
|
|
20948
20904
|
|
|
20949
20905
|
@property
|
|
20950
20906
|
def AgentVersion(self):
|
|
20951
|
-
r"""agent
|
|
20907
|
+
r"""<p>agent的版本号</p>
|
|
20952
20908
|
:rtype: str
|
|
20953
20909
|
"""
|
|
20954
20910
|
return self._AgentVersion
|
|
@@ -20959,7 +20915,7 @@ class DescribeAgentConfigsRequest(AbstractModel):
|
|
|
20959
20915
|
|
|
20960
20916
|
@property
|
|
20961
20917
|
def AgentIp(self):
|
|
20962
|
-
r"""agent的IP
|
|
20918
|
+
r"""<p>agent的IP地址</p>
|
|
20963
20919
|
:rtype: str
|
|
20964
20920
|
"""
|
|
20965
20921
|
return self._AgentIp
|
|
@@ -20970,7 +20926,7 @@ class DescribeAgentConfigsRequest(AbstractModel):
|
|
|
20970
20926
|
|
|
20971
20927
|
@property
|
|
20972
20928
|
def Labels(self):
|
|
20973
|
-
r"""
|
|
20929
|
+
r"""<p>机器组标签列表</p>
|
|
20974
20930
|
:rtype: list of str
|
|
20975
20931
|
"""
|
|
20976
20932
|
return self._Labels
|
|
@@ -20981,7 +20937,7 @@ class DescribeAgentConfigsRequest(AbstractModel):
|
|
|
20981
20937
|
|
|
20982
20938
|
@property
|
|
20983
20939
|
def InstanceId(self):
|
|
20984
|
-
r"""agent的instance id
|
|
20940
|
+
r"""<p>agent的instance id</p>
|
|
20985
20941
|
:rtype: str
|
|
20986
20942
|
"""
|
|
20987
20943
|
return self._InstanceId
|
|
@@ -21013,22 +20969,22 @@ class DescribeAgentConfigsResponse(AbstractModel):
|
|
|
21013
20969
|
|
|
21014
20970
|
def __init__(self):
|
|
21015
20971
|
r"""
|
|
21016
|
-
:param _LogConfigs:
|
|
20972
|
+
:param _LogConfigs: <p>采集配置</p>
|
|
21017
20973
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21018
20974
|
:type LogConfigs: list of LogConfigInfo
|
|
21019
|
-
:param _ServiceLogConfigs:
|
|
20975
|
+
:param _ServiceLogConfigs: <p>服务日志的配置信息</p>
|
|
21020
20976
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21021
20977
|
:type ServiceLogConfigs: list of ServiceLogConfigInfo
|
|
21022
|
-
:param _LastVersion:
|
|
20978
|
+
:param _LastVersion: <p>弃用</p>
|
|
21023
20979
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21024
20980
|
:type LastVersion: str
|
|
21025
|
-
:param _NeedUpdate:
|
|
20981
|
+
:param _NeedUpdate: <p>弃用</p>
|
|
21026
20982
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21027
20983
|
:type NeedUpdate: bool
|
|
21028
|
-
:param _URL:
|
|
20984
|
+
:param _URL: <p>弃用</p>
|
|
21029
20985
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21030
20986
|
:type URL: str
|
|
21031
|
-
:param _FileMd5:
|
|
20987
|
+
:param _FileMd5: <p>弃用</p>
|
|
21032
20988
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21033
20989
|
:type FileMd5: str
|
|
21034
20990
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -21044,7 +21000,7 @@ class DescribeAgentConfigsResponse(AbstractModel):
|
|
|
21044
21000
|
|
|
21045
21001
|
@property
|
|
21046
21002
|
def LogConfigs(self):
|
|
21047
|
-
r"""
|
|
21003
|
+
r"""<p>采集配置</p>
|
|
21048
21004
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21049
21005
|
:rtype: list of LogConfigInfo
|
|
21050
21006
|
"""
|
|
@@ -21056,7 +21012,7 @@ class DescribeAgentConfigsResponse(AbstractModel):
|
|
|
21056
21012
|
|
|
21057
21013
|
@property
|
|
21058
21014
|
def ServiceLogConfigs(self):
|
|
21059
|
-
r"""
|
|
21015
|
+
r"""<p>服务日志的配置信息</p>
|
|
21060
21016
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21061
21017
|
:rtype: list of ServiceLogConfigInfo
|
|
21062
21018
|
"""
|
|
@@ -21068,7 +21024,7 @@ class DescribeAgentConfigsResponse(AbstractModel):
|
|
|
21068
21024
|
|
|
21069
21025
|
@property
|
|
21070
21026
|
def LastVersion(self):
|
|
21071
|
-
r"""
|
|
21027
|
+
r"""<p>弃用</p>
|
|
21072
21028
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21073
21029
|
:rtype: str
|
|
21074
21030
|
"""
|
|
@@ -21080,7 +21036,7 @@ class DescribeAgentConfigsResponse(AbstractModel):
|
|
|
21080
21036
|
|
|
21081
21037
|
@property
|
|
21082
21038
|
def NeedUpdate(self):
|
|
21083
|
-
r"""
|
|
21039
|
+
r"""<p>弃用</p>
|
|
21084
21040
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21085
21041
|
:rtype: bool
|
|
21086
21042
|
"""
|
|
@@ -21092,7 +21048,7 @@ class DescribeAgentConfigsResponse(AbstractModel):
|
|
|
21092
21048
|
|
|
21093
21049
|
@property
|
|
21094
21050
|
def URL(self):
|
|
21095
|
-
r"""
|
|
21051
|
+
r"""<p>弃用</p>
|
|
21096
21052
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21097
21053
|
:rtype: str
|
|
21098
21054
|
"""
|
|
@@ -21104,7 +21060,7 @@ class DescribeAgentConfigsResponse(AbstractModel):
|
|
|
21104
21060
|
|
|
21105
21061
|
@property
|
|
21106
21062
|
def FileMd5(self):
|
|
21107
|
-
r"""
|
|
21063
|
+
r"""<p>弃用</p>
|
|
21108
21064
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21109
21065
|
:rtype: str
|
|
21110
21066
|
"""
|
|
@@ -32698,6 +32654,16 @@ class ExtractRuleInfo(AbstractModel):
|
|
|
32698
32654
|
:type AdvanceFilterRules: list of AdvanceFilterRuleInfo
|
|
32699
32655
|
:param _RawLogKey: <p>原始日志的键名称(Key);所有原始日志, 均以您指定的键名称(Key),原始日志内容作为值(Value)进行上传,为空时表示不开启原始日志上传。</p><ul><li>COS导入不支持此字段。</li></ul>
|
|
32700
32656
|
:type RawLogKey: str
|
|
32657
|
+
:param _Units: <p>采集范围。空数组表示采集全部Unit,非空数组表示采集指定Unit</p>
|
|
32658
|
+
:type Units: list of str
|
|
32659
|
+
:param _IncludeKernel: <p>是否采集内核日志</p><p>默认值:true</p>
|
|
32660
|
+
:type IncludeKernel: bool
|
|
32661
|
+
:param _UseJournalTime: <p>是否使用journal原始时间。true :用 journal 原始时间;false: 用采集时间 </p><p>默认值:false</p>
|
|
32662
|
+
:type UseJournalTime: bool
|
|
32663
|
+
:param _KeysDelimiter: <p>字段间分隔符数组(长度 = keys.length),每个元素是前一字段结尾到当前字段开头的分隔串</p>
|
|
32664
|
+
:type KeysDelimiter: list of str
|
|
32665
|
+
:param _KeysFlag: <p>字段标志位数组(长度 = keys.length),<code>0</code> = 普通字段,<code>1</code> = 包含子字段需二次拆分</p>
|
|
32666
|
+
:type KeysFlag: list of int
|
|
32701
32667
|
"""
|
|
32702
32668
|
self._TimeKey = None
|
|
32703
32669
|
self._TimeFormat = None
|
|
@@ -32720,6 +32686,11 @@ class ExtractRuleInfo(AbstractModel):
|
|
|
32720
32686
|
self._EventLogRules = None
|
|
32721
32687
|
self._AdvanceFilterRules = None
|
|
32722
32688
|
self._RawLogKey = None
|
|
32689
|
+
self._Units = None
|
|
32690
|
+
self._IncludeKernel = None
|
|
32691
|
+
self._UseJournalTime = None
|
|
32692
|
+
self._KeysDelimiter = None
|
|
32693
|
+
self._KeysFlag = None
|
|
32723
32694
|
|
|
32724
32695
|
@property
|
|
32725
32696
|
def TimeKey(self):
|
|
@@ -32958,6 +32929,61 @@ class ExtractRuleInfo(AbstractModel):
|
|
|
32958
32929
|
def RawLogKey(self, RawLogKey):
|
|
32959
32930
|
self._RawLogKey = RawLogKey
|
|
32960
32931
|
|
|
32932
|
+
@property
|
|
32933
|
+
def Units(self):
|
|
32934
|
+
r"""<p>采集范围。空数组表示采集全部Unit,非空数组表示采集指定Unit</p>
|
|
32935
|
+
:rtype: list of str
|
|
32936
|
+
"""
|
|
32937
|
+
return self._Units
|
|
32938
|
+
|
|
32939
|
+
@Units.setter
|
|
32940
|
+
def Units(self, Units):
|
|
32941
|
+
self._Units = Units
|
|
32942
|
+
|
|
32943
|
+
@property
|
|
32944
|
+
def IncludeKernel(self):
|
|
32945
|
+
r"""<p>是否采集内核日志</p><p>默认值:true</p>
|
|
32946
|
+
:rtype: bool
|
|
32947
|
+
"""
|
|
32948
|
+
return self._IncludeKernel
|
|
32949
|
+
|
|
32950
|
+
@IncludeKernel.setter
|
|
32951
|
+
def IncludeKernel(self, IncludeKernel):
|
|
32952
|
+
self._IncludeKernel = IncludeKernel
|
|
32953
|
+
|
|
32954
|
+
@property
|
|
32955
|
+
def UseJournalTime(self):
|
|
32956
|
+
r"""<p>是否使用journal原始时间。true :用 journal 原始时间;false: 用采集时间 </p><p>默认值:false</p>
|
|
32957
|
+
:rtype: bool
|
|
32958
|
+
"""
|
|
32959
|
+
return self._UseJournalTime
|
|
32960
|
+
|
|
32961
|
+
@UseJournalTime.setter
|
|
32962
|
+
def UseJournalTime(self, UseJournalTime):
|
|
32963
|
+
self._UseJournalTime = UseJournalTime
|
|
32964
|
+
|
|
32965
|
+
@property
|
|
32966
|
+
def KeysDelimiter(self):
|
|
32967
|
+
r"""<p>字段间分隔符数组(长度 = keys.length),每个元素是前一字段结尾到当前字段开头的分隔串</p>
|
|
32968
|
+
:rtype: list of str
|
|
32969
|
+
"""
|
|
32970
|
+
return self._KeysDelimiter
|
|
32971
|
+
|
|
32972
|
+
@KeysDelimiter.setter
|
|
32973
|
+
def KeysDelimiter(self, KeysDelimiter):
|
|
32974
|
+
self._KeysDelimiter = KeysDelimiter
|
|
32975
|
+
|
|
32976
|
+
@property
|
|
32977
|
+
def KeysFlag(self):
|
|
32978
|
+
r"""<p>字段标志位数组(长度 = keys.length),<code>0</code> = 普通字段,<code>1</code> = 包含子字段需二次拆分</p>
|
|
32979
|
+
:rtype: list of int
|
|
32980
|
+
"""
|
|
32981
|
+
return self._KeysFlag
|
|
32982
|
+
|
|
32983
|
+
@KeysFlag.setter
|
|
32984
|
+
def KeysFlag(self, KeysFlag):
|
|
32985
|
+
self._KeysFlag = KeysFlag
|
|
32986
|
+
|
|
32961
32987
|
|
|
32962
32988
|
def _deserialize(self, params):
|
|
32963
32989
|
self._TimeKey = params.get("TimeKey")
|
|
@@ -33001,6 +33027,11 @@ class ExtractRuleInfo(AbstractModel):
|
|
|
33001
33027
|
obj._deserialize(item)
|
|
33002
33028
|
self._AdvanceFilterRules.append(obj)
|
|
33003
33029
|
self._RawLogKey = params.get("RawLogKey")
|
|
33030
|
+
self._Units = params.get("Units")
|
|
33031
|
+
self._IncludeKernel = params.get("IncludeKernel")
|
|
33032
|
+
self._UseJournalTime = params.get("UseJournalTime")
|
|
33033
|
+
self._KeysDelimiter = params.get("KeysDelimiter")
|
|
33034
|
+
self._KeysFlag = params.get("KeysFlag")
|
|
33004
33035
|
memeber_set = set(params.keys())
|
|
33005
33036
|
for name, value in vars(self).items():
|
|
33006
33037
|
property_name = name[1:]
|
|
@@ -39774,47 +39805,25 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39774
39805
|
|
|
39775
39806
|
def __init__(self):
|
|
39776
39807
|
r"""
|
|
39777
|
-
:param _ConfigId:
|
|
39808
|
+
:param _ConfigId: <p>采集规则配置ID,通过<a href="https://cloud.tencent.com/document/product/614/58616">获取采集规则配置</a>返回信息获取。</p>
|
|
39778
39809
|
:type ConfigId: str
|
|
39779
|
-
:param _Name:
|
|
39780
|
-
- 不能包含特殊字符|
|
|
39781
|
-
- 长度不能超过255字符,超过会被截断
|
|
39810
|
+
:param _Name: <p>采集规则配置名称</p><ul><li>不能包含特殊字符|</li><li>长度不能超过255字符,超过会被截断</li></ul>
|
|
39782
39811
|
:type Name: str
|
|
39783
|
-
:param _Path:
|
|
39812
|
+
:param _Path: <p>日志采集路径,包含文件名</p>
|
|
39784
39813
|
:type Path: str
|
|
39785
|
-
:param _LogType:
|
|
39786
|
-
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
39787
|
-
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
39788
|
-
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
39789
|
-
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
39790
|
-
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
39791
|
-
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
39792
|
-
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
|
39793
|
-
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
|
39794
|
-
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
|
39795
|
-
|
|
39796
|
-
|
|
39814
|
+
:param _LogType: <p>采集的日志类型。支持以下类型:</p><ul><li>json_log代表:JSON-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17419">使用 JSON 提取模式采集日志</a>);</li><li>delimiter_log代表:分隔符-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17420">使用分隔符提取模式采集日志</a>);</li><li>minimalist_log代表:单行全文-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17421">使用单行全文提取模式采集日志</a>);</li><li>fullregex_log代表:单行完全正则-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/52365">使用单行-完全正则提取模式采集日志</a>);</li><li>multiline_log代表:多行全文-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17422">使用多行全文提取模式采集日志</a>);</li><li>multiline_fullregex_log代表:多行完全正则-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/52366">使用多行-完全正则提取模式采集日志</a>);</li><li>user_define_log代表:组合解析(适用于多格式嵌套的日志,详见<a href="https://cloud.tencent.com/document/product/614/61310">使用组合解析提取模式采集日志</a>);</li><li>service_syslog代表:syslog 采集(详见<a href="https://cloud.tencent.com/document/product/614/81454">采集 Syslog</a>);</li><li>windows_event_log代表:Windows事件日志(详见<a href="https://cloud.tencent.com/document/product/614/96678">采集 Windows 事件日志</a>)。</li><li>journal_log代表:journal日志采集</li></ul>
|
|
39797
39815
|
:type LogType: str
|
|
39798
|
-
:param _ExtractRule:
|
|
39816
|
+
:param _ExtractRule: <p>提取规则,如果设置了ExtractRule,则必须设置LogType</p>
|
|
39799
39817
|
:type ExtractRule: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
|
39800
|
-
:param _ExcludePaths:
|
|
39818
|
+
:param _ExcludePaths: <p>采集黑名单路径列表</p>
|
|
39801
39819
|
:type ExcludePaths: list of ExcludePathInfo
|
|
39802
|
-
:param _Output:
|
|
39803
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
39820
|
+
:param _Output: <p>采集配置关联的日志主题(TopicId)</p><ul><li>通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</li></ul>
|
|
39804
39821
|
:type Output: str
|
|
39805
|
-
:param _UserDefineRule:
|
|
39822
|
+
:param _UserDefineRule: <p>用户自定义解析字符串,Json格式序列化的字符串。</p>
|
|
39806
39823
|
:type UserDefineRule: str
|
|
39807
|
-
:param _AdvancedConfig:
|
|
39808
|
-
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
39809
|
-
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
39810
|
-
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
39811
|
-
样例:
|
|
39812
|
-
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
|
39824
|
+
:param _AdvancedConfig: <p>高级采集配置。 Json字符串, Key/Value定义为如下:</p><ul><li>ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时</li><li>ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数</li><li>ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false<br>样例:<br><code>{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}</code></li></ul>
|
|
39813
39825
|
:type AdvancedConfig: str
|
|
39814
|
-
:param _InputType:
|
|
39815
|
-
- file: 文件类型采集
|
|
39816
|
-
- windows_event:windows事件采集
|
|
39817
|
-
- syslog:系统日志采集
|
|
39826
|
+
:param _InputType: <p>日志输入类型(<span style="color:red; font-weight:bold">注:windows场景必填且仅支持file和windows_event类型</span>)</p><ul><li>file: 文件类型采集</li><li>windows_event:windows事件采集</li><li>syslog:系统日志采集</li></ul>
|
|
39818
39827
|
:type InputType: str
|
|
39819
39828
|
"""
|
|
39820
39829
|
self._ConfigId = None
|
|
@@ -39830,7 +39839,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39830
39839
|
|
|
39831
39840
|
@property
|
|
39832
39841
|
def ConfigId(self):
|
|
39833
|
-
r"""
|
|
39842
|
+
r"""<p>采集规则配置ID,通过<a href="https://cloud.tencent.com/document/product/614/58616">获取采集规则配置</a>返回信息获取。</p>
|
|
39834
39843
|
:rtype: str
|
|
39835
39844
|
"""
|
|
39836
39845
|
return self._ConfigId
|
|
@@ -39841,9 +39850,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39841
39850
|
|
|
39842
39851
|
@property
|
|
39843
39852
|
def Name(self):
|
|
39844
|
-
r"""
|
|
39845
|
-
- 不能包含特殊字符|
|
|
39846
|
-
- 长度不能超过255字符,超过会被截断
|
|
39853
|
+
r"""<p>采集规则配置名称</p><ul><li>不能包含特殊字符|</li><li>长度不能超过255字符,超过会被截断</li></ul>
|
|
39847
39854
|
:rtype: str
|
|
39848
39855
|
"""
|
|
39849
39856
|
return self._Name
|
|
@@ -39854,7 +39861,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39854
39861
|
|
|
39855
39862
|
@property
|
|
39856
39863
|
def Path(self):
|
|
39857
|
-
r"""
|
|
39864
|
+
r"""<p>日志采集路径,包含文件名</p>
|
|
39858
39865
|
:rtype: str
|
|
39859
39866
|
"""
|
|
39860
39867
|
return self._Path
|
|
@@ -39865,18 +39872,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39865
39872
|
|
|
39866
39873
|
@property
|
|
39867
39874
|
def LogType(self):
|
|
39868
|
-
r"""
|
|
39869
|
-
- json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419));
|
|
39870
|
-
- delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420));
|
|
39871
|
-
- minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421));
|
|
39872
|
-
- fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365));
|
|
39873
|
-
- multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422));
|
|
39874
|
-
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
|
39875
|
-
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310));
|
|
39876
|
-
- service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454));
|
|
39877
|
-
- windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。
|
|
39878
|
-
|
|
39879
|
-
|
|
39875
|
+
r"""<p>采集的日志类型。支持以下类型:</p><ul><li>json_log代表:JSON-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17419">使用 JSON 提取模式采集日志</a>);</li><li>delimiter_log代表:分隔符-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17420">使用分隔符提取模式采集日志</a>);</li><li>minimalist_log代表:单行全文-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17421">使用单行全文提取模式采集日志</a>);</li><li>fullregex_log代表:单行完全正则-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/52365">使用单行-完全正则提取模式采集日志</a>);</li><li>multiline_log代表:多行全文-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/17422">使用多行全文提取模式采集日志</a>);</li><li>multiline_fullregex_log代表:多行完全正则-文件日志(详见<a href="https://cloud.tencent.com/document/product/614/52366">使用多行-完全正则提取模式采集日志</a>);</li><li>user_define_log代表:组合解析(适用于多格式嵌套的日志,详见<a href="https://cloud.tencent.com/document/product/614/61310">使用组合解析提取模式采集日志</a>);</li><li>service_syslog代表:syslog 采集(详见<a href="https://cloud.tencent.com/document/product/614/81454">采集 Syslog</a>);</li><li>windows_event_log代表:Windows事件日志(详见<a href="https://cloud.tencent.com/document/product/614/96678">采集 Windows 事件日志</a>)。</li><li>journal_log代表:journal日志采集</li></ul>
|
|
39880
39876
|
:rtype: str
|
|
39881
39877
|
"""
|
|
39882
39878
|
return self._LogType
|
|
@@ -39887,7 +39883,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39887
39883
|
|
|
39888
39884
|
@property
|
|
39889
39885
|
def ExtractRule(self):
|
|
39890
|
-
r"""
|
|
39886
|
+
r"""<p>提取规则,如果设置了ExtractRule,则必须设置LogType</p>
|
|
39891
39887
|
:rtype: :class:`tencentcloud.cls.v20201016.models.ExtractRuleInfo`
|
|
39892
39888
|
"""
|
|
39893
39889
|
return self._ExtractRule
|
|
@@ -39898,7 +39894,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39898
39894
|
|
|
39899
39895
|
@property
|
|
39900
39896
|
def ExcludePaths(self):
|
|
39901
|
-
r"""
|
|
39897
|
+
r"""<p>采集黑名单路径列表</p>
|
|
39902
39898
|
:rtype: list of ExcludePathInfo
|
|
39903
39899
|
"""
|
|
39904
39900
|
return self._ExcludePaths
|
|
@@ -39909,8 +39905,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39909
39905
|
|
|
39910
39906
|
@property
|
|
39911
39907
|
def Output(self):
|
|
39912
|
-
r"""
|
|
39913
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
39908
|
+
r"""<p>采集配置关联的日志主题(TopicId)</p><ul><li>通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</li></ul>
|
|
39914
39909
|
:rtype: str
|
|
39915
39910
|
"""
|
|
39916
39911
|
return self._Output
|
|
@@ -39921,7 +39916,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39921
39916
|
|
|
39922
39917
|
@property
|
|
39923
39918
|
def UserDefineRule(self):
|
|
39924
|
-
r"""
|
|
39919
|
+
r"""<p>用户自定义解析字符串,Json格式序列化的字符串。</p>
|
|
39925
39920
|
:rtype: str
|
|
39926
39921
|
"""
|
|
39927
39922
|
return self._UserDefineRule
|
|
@@ -39932,12 +39927,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39932
39927
|
|
|
39933
39928
|
@property
|
|
39934
39929
|
def AdvancedConfig(self):
|
|
39935
|
-
r"""
|
|
39936
|
-
- ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
|
39937
|
-
- ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
|
39938
|
-
- ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
|
39939
|
-
样例:
|
|
39940
|
-
`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
|
|
39930
|
+
r"""<p>高级采集配置。 Json字符串, Key/Value定义为如下:</p><ul><li>ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时</li><li>ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数</li><li>ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false<br>样例:<br><code>{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}</code></li></ul>
|
|
39941
39931
|
:rtype: str
|
|
39942
39932
|
"""
|
|
39943
39933
|
return self._AdvancedConfig
|
|
@@ -39948,10 +39938,7 @@ class ModifyConfigRequest(AbstractModel):
|
|
|
39948
39938
|
|
|
39949
39939
|
@property
|
|
39950
39940
|
def InputType(self):
|
|
39951
|
-
r"""
|
|
39952
|
-
- file: 文件类型采集
|
|
39953
|
-
- windows_event:windows事件采集
|
|
39954
|
-
- syslog:系统日志采集
|
|
39941
|
+
r"""<p>日志输入类型(<span style="color:red; font-weight:bold">注:windows场景必填且仅支持file和windows_event类型</span>)</p><ul><li>file: 文件类型采集</li><li>windows_event:windows事件采集</li><li>syslog:系统日志采集</li></ul>
|
|
39955
39942
|
:rtype: str
|
|
39956
39943
|
"""
|
|
39957
39944
|
return self._InputType
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.160
|
|
4
4
|
Summary: Tencent Cloud Cls SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.160
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.160
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|