public class EventLog extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| EventLog() | 
| EventLog(EventLog 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 | getEventChannel()Get 事件通道,支持
- Application 应用日志
- Security 安全日志
- Setup 启动日志
- System 系统日志
- ALL 所有日志 | 
| String[] | getEventIDs()Get 事件ID过滤列表
        
选填,为空表示不做过滤
支持正向过滤单个值(例:20)或范围(例:0-20),也支持反向过滤单个值(例:-20)
多个过滤项之间可由逗号隔开,例:1-200,-100表示采集1-200范围内除了100以外的事件日志 | 
| Long | getTimestamp()Get 时间,用户选择自定义时间类型时,需要指定时间,单位秒
格式:时间戳,1754897446 | 
| Long | getTimeType()Get 时间字段(Timestamp)支持的类型
- 1(用户自定义时间)
- 2(当前时间) | 
| void | setEventChannel(String EventChannel)Set 事件通道,支持
- Application 应用日志
- Security 安全日志
- Setup 启动日志
- System 系统日志
- ALL 所有日志 | 
| void | setEventIDs(String[] EventIDs)Set 事件ID过滤列表
        
选填,为空表示不做过滤
支持正向过滤单个值(例:20)或范围(例:0-20),也支持反向过滤单个值(例:-20)
多个过滤项之间可由逗号隔开,例:1-200,-100表示采集1-200范围内除了100以外的事件日志 | 
| void | setTimestamp(Long Timestamp)Set 时间,用户选择自定义时间类型时,需要指定时间,单位秒
格式:时间戳,1754897446 | 
| void | setTimeType(Long TimeType)Set 时间字段(Timestamp)支持的类型
- 1(用户自定义时间)
- 2(当前时间) | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic EventLog()
public EventLog(EventLog source)
public String getEventChannel()
public void setEventChannel(String EventChannel)
EventChannel - 事件通道,支持
- Application 应用日志
- Security 安全日志
- Setup 启动日志
- System 系统日志
- ALL 所有日志public Long getTimeType()
public void setTimeType(Long TimeType)
TimeType - 时间字段(Timestamp)支持的类型
- 1(用户自定义时间)
- 2(当前时间)public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp - 时间,用户选择自定义时间类型时,需要指定时间,单位秒
格式:时间戳,1754897446public String[] getEventIDs()
public void setEventIDs(String[] EventIDs)
EventIDs - 事件ID过滤列表
        
选填,为空表示不做过滤
支持正向过滤单个值(例:20)或范围(例:0-20),也支持反向过滤单个值(例:-20)
多个过滤项之间可由逗号隔开,例:1-200,-100表示采集1-200范围内除了100以外的事件日志Copyright © 2025. All rights reserved.