public class UserDefineRule extends Object
| 构造器和说明 |
|---|
UserDefineRule(ParsePathRule parsePathRule,
ShardHashKey shardHashKey,
Boolean enableRawLog,
Map<String,String> fields) |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
getEnableRawLog() |
Map<String,String> |
getFields() |
ParsePathRule |
getParsePathRule() |
ShardHashKey |
getShardHashKey() |
void |
setEnableRawLog(Boolean enableRawLog) |
void |
setFields(Map<String,String> fields) |
void |
setParsePathRule(ParsePathRule parsePathRule) |
void |
setShardHashKey(ShardHashKey shardHashKey) |
public UserDefineRule(ParsePathRule parsePathRule, ShardHashKey shardHashKey, Boolean enableRawLog, Map<String,String> fields)
parsePathRule - 解析采集路径的规则shardHashKey - 路由日志分区的规则enableRawLog - 是否上传原始日志fields - 为日志添加常量字段public ParsePathRule getParsePathRule()
public void setParsePathRule(ParsePathRule parsePathRule)
parsePathRule - 解析采集路径的规则public ShardHashKey getShardHashKey()
public void setShardHashKey(ShardHashKey shardHashKey)
shardHashKey - 路由日志分区的规则public Boolean getEnableRawLog()
public void setEnableRawLog(Boolean enableRawLog)
enableRawLog - 是否上传原始日志Copyright © 2023. All rights reserved.