public class ConfigInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ConfigInfo() | 
| ConfigInfo(ConfigInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAdvancedConfig()Get Advanced collection configuration. | 
| String | getConfigId()Get Collection rule configuration ID | 
| String | getCreateTime()Get Creation time | 
| ExcludePathInfo[] | getExcludePaths()Get Collection path blocklist
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| ExtractRuleInfo | getExtractRule()Get Extraction rule. | 
| String | getLogFormat()Get Log formatting method
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getLogType()Get Type of collected logs.- json_log: JSON File Log (For more information, see [Using JSON pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17419?from_cn_redirect=1));- delimiter_log: Delimiter - File Logs (For more information, see [Using delimiter pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17420?from_cn_redirect=1));- minimalist_log: Single-line Full-text File Log (For more information, see [Using single-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17421?from_cn_redirect=1));- fullregex_log: Single line full regular expression - File log (For more information, see [Using single-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52365?from_cn_redirect=1));- multiline_log: Multiline Full-text File Log (For more information, see [Using multi-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17422?from_cn_redirect=1));- multiline_fullregex_log: Multi-line complete regular expression - File Logs (For more information, see [Using multi-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52366?from_cn_redirect=1));- user_define_log: Combined parsing (Suitable for logs with multiple nested formats, see [Using combined parsing pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1));- service_syslog: syslog collection (For more information, see [Collect Syslog](https://intl.cloud.tencent.com/document/product/614/81454?from_cn_redirect=1));- windows_event_log represents: Windows event logs (see Collecting Windows Event Logs (https://intl.cloud.tencent.com/document/product/614/96678?from_cn_redirect=1) for details.).Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getName()Get Name of the collection rule configuration
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getOutput()Get Log topic ID (TopicId) of collection configuration | 
| String | getPath()Get Log collection path
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getUpdateTime()Get Update time
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getUserDefineRule()Get User-defined parsing strings, see Collecting Logs Using Combined Parsing Extraction Mode (https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1) for details.Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAdvancedConfig(String AdvancedConfig)Set Advanced collection configuration. | 
| void | setConfigId(String ConfigId)Set Collection rule configuration ID | 
| void | setCreateTime(String CreateTime)Set Creation time | 
| void | setExcludePaths(ExcludePathInfo[] ExcludePaths)Set Collection path blocklist
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setExtractRule(ExtractRuleInfo ExtractRule)Set Extraction rule. | 
| void | setLogFormat(String LogFormat)Set Log formatting method
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setLogType(String LogType)Set Type of collected logs.- json_log: JSON File Log (For more information, see [Using JSON pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17419?from_cn_redirect=1));- delimiter_log: Delimiter - File Logs (For more information, see [Using delimiter pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17420?from_cn_redirect=1));- minimalist_log: Single-line Full-text File Log (For more information, see [Using single-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17421?from_cn_redirect=1));- fullregex_log: Single line full regular expression - File log (For more information, see [Using single-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52365?from_cn_redirect=1));- multiline_log: Multiline Full-text File Log (For more information, see [Using multi-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17422?from_cn_redirect=1));- multiline_fullregex_log: Multi-line complete regular expression - File Logs (For more information, see [Using multi-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52366?from_cn_redirect=1));- user_define_log: Combined parsing (Suitable for logs with multiple nested formats, see [Using combined parsing pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1));- service_syslog: syslog collection (For more information, see [Collect Syslog](https://intl.cloud.tencent.com/document/product/614/81454?from_cn_redirect=1));- windows_event_log represents: Windows event logs (see Collecting Windows Event Logs (https://intl.cloud.tencent.com/document/product/614/96678?from_cn_redirect=1) for details.).Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setName(String Name)Set Name of the collection rule configuration
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setOutput(String Output)Set Log topic ID (TopicId) of collection configuration | 
| void | setPath(String Path)Set Log collection path
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setUpdateTime(String UpdateTime)Set Update time
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setUserDefineRule(String UserDefineRule)Set User-defined parsing strings, see Collecting Logs Using Combined Parsing Extraction Mode (https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1) for details.Note: This field may return null, indicating that no valid values can be obtained. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ConfigInfo()
public ConfigInfo(ConfigInfo source)
public String getConfigId()
public void setConfigId(String ConfigId)
ConfigId - Collection rule configuration IDpublic String getName()
public void setName(String Name)
Name - Name of the collection rule configuration
Note: This field may return null, indicating that no valid values can be obtained.public String getLogFormat()
public void setLogFormat(String LogFormat)
LogFormat - Log formatting method
Note: this field may return `null`, indicating that no valid values can be obtained.public String getPath()
public void setPath(String Path)
Path - Log collection path
Note: this field may return `null`, indicating that no valid values can be obtained.public String getLogType()
public void setLogType(String LogType)
LogType - Type of collected logs.- json_log: JSON File Log (For more information, see [Using JSON pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17419?from_cn_redirect=1));- delimiter_log: Delimiter - File Logs (For more information, see [Using delimiter pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17420?from_cn_redirect=1));- minimalist_log: Single-line Full-text File Log (For more information, see [Using single-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17421?from_cn_redirect=1));- fullregex_log: Single line full regular expression - File log (For more information, see [Using single-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52365?from_cn_redirect=1));- multiline_log: Multiline Full-text File Log (For more information, see [Using multi-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17422?from_cn_redirect=1));- multiline_fullregex_log: Multi-line complete regular expression - File Logs (For more information, see [Using multi-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52366?from_cn_redirect=1));- user_define_log: Combined parsing (Suitable for logs with multiple nested formats, see [Using combined parsing pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1));- service_syslog: syslog collection (For more information, see [Collect Syslog](https://intl.cloud.tencent.com/document/product/614/81454?from_cn_redirect=1));- windows_event_log represents: Windows event logs (see Collecting Windows Event Logs (https://intl.cloud.tencent.com/document/product/614/96678?from_cn_redirect=1) for details.).Note: This field may return null, indicating that no valid values can be obtained.public ExtractRuleInfo getExtractRule()
public void setExtractRule(ExtractRuleInfo ExtractRule)
ExtractRule - Extraction rule. If `ExtractRule` is set, `LogType` must be set
Note: this field may return `null`, indicating that no valid values can be obtained.public ExcludePathInfo[] getExcludePaths()
public void setExcludePaths(ExcludePathInfo[] ExcludePaths)
ExcludePaths - Collection path blocklist
Note: this field may return `null`, indicating that no valid values can be obtained.public String getOutput()
public void setOutput(String Output)
Output - Log topic ID (TopicId) of collection configurationpublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - Update time
Note: this field may return `null`, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation timepublic String getUserDefineRule()
public void setUserDefineRule(String UserDefineRule)
UserDefineRule - User-defined parsing strings, see Collecting Logs Using Combined Parsing Extraction Mode (https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1) for details.Note: This field may return null, indicating that no valid values can be obtained.public String getAdvancedConfig()
public void setAdvancedConfig(String AdvancedConfig)
AdvancedConfig - Advanced collection configuration. A JSON string, Key/Value definition as follows:- ClsAgentFileTimeout (timeout property), value range: an integer greater than or equal to 0, where 0 means no timeout- ClsAgentMaxDepth (maximum directory depth), value range: an integer greater than or equal to 0- ClsAgentParseFailMerge (merge logs that failed parsing), value range: true or falseSample:`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}`
Default placeholder value in the console: `{"ClsAgentDefault":0}`Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.