public class CreateConfigRequest extends AbstractModel
Constructor and Description |
---|
CreateConfigRequest() |
CreateConfigRequest(CreateConfigRequest 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 |
---|---|
ExcludePathInfo[] |
getExcludePaths()
Get 采集黑名单路径列表
|
ExtractRuleInfo |
getExtractRule()
Get 提取规则,如果设置了ExtractRule,则必须设置LogType
|
String |
getLogType()
Get 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
|
String |
getName()
Get 采集配置名称
|
String |
getOutput()
Get 采集配置所属日志主题ID即TopicId
|
String |
getPath()
Get 日志采集路径,包含文件名
|
String |
getUserDefineRule()
Get 用户自定义采集规则,Json格式序列化的字符串
|
void |
setExcludePaths(ExcludePathInfo[] ExcludePaths)
Set 采集黑名单路径列表
|
void |
setExtractRule(ExtractRuleInfo ExtractRule)
Set 提取规则,如果设置了ExtractRule,则必须设置LogType
|
void |
setLogType(String LogType)
Set 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log
|
void |
setName(String Name)
Set 采集配置名称
|
void |
setOutput(String Output)
Set 采集配置所属日志主题ID即TopicId
|
void |
setPath(String Path)
Set 日志采集路径,包含文件名
|
void |
setUserDefineRule(String UserDefineRule)
Set 用户自定义采集规则,Json格式序列化的字符串
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateConfigRequest()
public CreateConfigRequest(CreateConfigRequest source)
public String getName()
public void setName(String Name)
Name
- 采集配置名称public String getOutput()
public void setOutput(String Output)
Output
- 采集配置所属日志主题ID即TopicIdpublic String getPath()
public void setPath(String Path)
Path
- 日志采集路径,包含文件名public String getLogType()
public void setLogType(String LogType)
LogType
- 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_logpublic ExtractRuleInfo getExtractRule()
public void setExtractRule(ExtractRuleInfo ExtractRule)
ExtractRule
- 提取规则,如果设置了ExtractRule,则必须设置LogTypepublic ExcludePathInfo[] getExcludePaths()
public void setExcludePaths(ExcludePathInfo[] ExcludePaths)
ExcludePaths
- 采集黑名单路径列表public String getUserDefineRule()
public void setUserDefineRule(String UserDefineRule)
UserDefineRule
- 用户自定义采集规则,Json格式序列化的字符串Copyright © 2022. All rights reserved.