660 lines
18 KiB
Java
660 lines
18 KiB
Java
package com.nis.domain.log;
|
||
|
||
import com.google.gson.annotations.Expose;
|
||
import com.nis.domain.BaseEntity;
|
||
import com.nis.util.excel.ExcelField;
|
||
/**
|
||
* (日志 代理)HTTP 操控 实体类
|
||
*
|
||
*/
|
||
public class PxyHttpManipulationLog extends BaseEntity<PxyHttpManipulationLog>{
|
||
private static final long serialVersionUID = -3046458130302949428L;
|
||
|
||
@ExcelField(title="found_time",sort=5)
|
||
protected String foundTime; //发现时间,timestamp
|
||
@ExcelField(title="recv_time",sort=6)
|
||
protected String recvTime; //接收时间,timestamp
|
||
@ExcelField(title="transport_layer_protocol",dictType="LOG_PROTOCOL",sort=30)
|
||
protected String transProto; //协议类型,从字典LOG_PROTOCOL取值
|
||
@ExcelField(title="addr_type",dictType="IP_TYPE",sort=35)
|
||
protected Integer addrType; //ip地址类型,从字典IP_TYPE取值
|
||
@ExcelField(title="URL",sort=8)
|
||
private String url;
|
||
@ExcelField(title="host",sort=8)
|
||
private String host;//主机地址
|
||
@ExcelField(title="domain_name",sort=8)
|
||
private String domain;//域名
|
||
@ExcelField(title="category",sort=8)
|
||
private String category;//域名分类
|
||
@ExcelField(title="req_line",sort=9)
|
||
private String reqLine;
|
||
@ExcelField(title="res_line",sort=10)
|
||
private String resLine;
|
||
@ExcelField(title="PXY_CACHE_HTTP_COOKIE",sort=11)
|
||
private String cookie;
|
||
@ExcelField(title="referer",sort=12)
|
||
private String referer;
|
||
@ExcelField(title="user_agent",sort=13)
|
||
private String userAgent;
|
||
@ExcelField(title="content_len",sort=14)
|
||
private String contentLen;
|
||
@ExcelField(title="content_type",sort=15)
|
||
private String contentType;
|
||
@ExcelField(title="set_cookie",sort=16)
|
||
private String setCookie;
|
||
@ExcelField(title="req_header",sort=17)
|
||
private String reqHeader;
|
||
@ExcelField(title="resp_header",sort=18)
|
||
private String respHeader;
|
||
@ExcelField(title="req_body",sort=78)
|
||
private String reqBody;
|
||
@ExcelField(title="resp_body",sort=79)
|
||
private String respBody;
|
||
// @ExcelField(title="website",sort=8)
|
||
// private String website;
|
||
|
||
private String policyId;//
|
||
@ExcelField(title="app_proto",sort=31)
|
||
private String appProto;//应用协议类型
|
||
@ExcelField(title="startTime",sort=5)
|
||
private String startTime;//会话创建时间
|
||
@ExcelField(title="endTime",sort=5)
|
||
private String endTime;//会话结束时间
|
||
@Expose
|
||
@ExcelField(title="server_ip",sort=40)
|
||
protected String serverIp; //服务端ip地址
|
||
@Expose
|
||
@ExcelField(title="client_ip",sort=41)
|
||
protected String clientIp; //客户端ip地址
|
||
@Expose
|
||
@ExcelField(title="server_port",sort=42)
|
||
protected String serverPort; //服务端ip端口
|
||
@Expose
|
||
@ExcelField(title="client_port",sort=43)
|
||
protected String clientPort; //客户端ip端口
|
||
@ExcelField(title="entrance_id",dictType="ENTRANCE",sort=7)
|
||
protected Integer entranceId; //出入口编号
|
||
@ExcelField(title="deviceid",dictType="DEVICE",sort=50)
|
||
protected Integer deviceId; //串联设备编号
|
||
@ExcelField(title="direction",dictType="LOG_DIRECTION",sort=55)
|
||
protected Integer direction; //传输方向 0:域内->域外,1:域外->域内,从字典LOG_DIRECTION取值
|
||
@ExcelField(title="stream_type",dictType="LOG_STREAM_TYPE",sort=65)
|
||
protected Integer streamDir; //流类型 0:c2s;1:s2c;2:double,从字典LOG_STREAMTYPE取值
|
||
@ExcelField(title="clj_ip",sort=27)
|
||
protected String capIp; //处理机IP
|
||
@ExcelField(title="nest_addr_list",sort=66)
|
||
protected String addrList; //嵌套地址列表
|
||
@ExcelField(title="server_locate",sort=67)
|
||
protected String serverLocation;// 服务端地址定位信息
|
||
@ExcelField(title="client_locate",sort=68)
|
||
protected String clientLocation;// 客户端地址定位信息
|
||
@ExcelField(title="s_asn",sort=70)
|
||
protected String clientAsn;//客户端ASN
|
||
@ExcelField(title="d_asn",sort=71)
|
||
protected String serverAsn;//服务端ASN
|
||
@ExcelField(title="s_subscribe_id",sort=73)
|
||
protected String subscribeId;//客户端用户名
|
||
@ExcelField(title="scene_file",sort=77)
|
||
protected String sceneFile;//现场日志文件地址
|
||
|
||
@ExcelField(title="isp",sort=80)
|
||
protected String isp;//运营商
|
||
protected Integer service; //配置表的serviceId
|
||
protected Integer functionId;
|
||
@ExcelField(title="action",dictType="SERVICE_ACTION",sort=2)
|
||
protected Integer action;
|
||
//新增字段
|
||
@ExcelField(title="encap_type",dictType="ENCAP_TYPE",sort=52)
|
||
protected Integer encapType;//原始二层封装格式
|
||
@ExcelField(title="link_id",dictType="LINK",sort=51)
|
||
protected Integer linkId;//串联设备链路号
|
||
@ExcelField(title="inner_smac",sort=58)
|
||
protected String innerSmac;//MAC_IN_MAC的内层源MAC
|
||
@ExcelField(title="inner_dmac",sort=59)
|
||
protected String innerDmac;//MAC_IN_MAC的内层目标MAC
|
||
//自定义字段
|
||
protected String date;//配置界面日志总量查询时间
|
||
protected String seltype;//选中类型,页面搜索用
|
||
protected String searchFoundStartTime;//开始时间,格式为yyyy-mm-dd hh24:mi:ss
|
||
protected String searchFoundEndTime;//结束时间,格式同上
|
||
protected String isLogTotalSearch;//由配置界面跳转日志查询标识
|
||
protected String orderBy;//排序参数
|
||
|
||
@ExcelField(title="cfg_id",sort=1)
|
||
protected Integer compileId;//
|
||
protected String startRecvTime;//开始时间
|
||
protected String endRecvTime; //结束时间
|
||
@ExcelField(title="con_duration_ms",sort=81)
|
||
protected Integer conDurationMs;//通信时长
|
||
protected String reqBodyKey;//请求体转储文件KEY
|
||
protected String resBodyKey;//应答体转储文件KEY
|
||
@ExcelField(title="version",sort=82)
|
||
protected String version;//版本
|
||
@ExcelField(title="sni",sort=83)
|
||
protected String sni;//
|
||
@ExcelField(title="san",sort=84)
|
||
protected String san;
|
||
@ExcelField(title="cn",sort=85)
|
||
protected String cn;
|
||
// @ExcelField(title="social_app",sort=86)
|
||
protected Integer appId;//app
|
||
@ExcelField(title="social_app",sort=86)
|
||
protected String appName;//app
|
||
// @ExcelField(title="protocol",sort=87)
|
||
protected Integer protocolId;//协议
|
||
@ExcelField(title="protocol",sort=87)
|
||
protected String protocolName;//协议
|
||
@ExcelField(title="con_latency_ms",sort=88)
|
||
protected Integer conLatencyMs;//握手延迟
|
||
@ExcelField(title="pinning",dictType="PINNING",sort=89)
|
||
protected Integer pinningst;//pinning状态
|
||
@ExcelField(title="c2s_pkt_num",sort=90)
|
||
protected Integer c2sPktNum;//c2s包数
|
||
@ExcelField(title="s2c_pkt_num",sort=91)
|
||
protected Integer s2cPktNum;//s2c包数
|
||
@ExcelField(title="c2s_byte_num",sort=92)
|
||
protected Integer c2sByteNum;//c2s字节数
|
||
@ExcelField(title="s2c_byte_num",sort=93)
|
||
protected Integer s2cByteNum;//s2c字节数
|
||
@ExcelField(title="nas_ip",sort=94)
|
||
protected String nasIp;//ISN接入的IP
|
||
@ExcelField(title="framed_ip",sort=95)
|
||
protected String framedIp;//用户IP地址
|
||
@ExcelField(title="account",sort=96)
|
||
protected String account;//用户名
|
||
@ExcelField(title="packet_type",dictType="MESSAGE_TYPE",sort=97)
|
||
protected Integer packetType;//报文类型
|
||
|
||
protected String dIp;
|
||
protected String sIp;
|
||
public String getProtocolName() {
|
||
return protocolName;
|
||
}
|
||
public void setProtocolName(String protocolName) {
|
||
this.protocolName = protocolName;
|
||
}
|
||
public String getAppName() {
|
||
return appName;
|
||
}
|
||
public void setAppName(String appName) {
|
||
this.appName = appName;
|
||
}
|
||
public String getdIp() {
|
||
return dIp;
|
||
}
|
||
public void setdIp(String dIp) {
|
||
this.dIp = dIp;
|
||
}
|
||
public String getsIp() {
|
||
return sIp;
|
||
}
|
||
public void setsIp(String sIp) {
|
||
this.sIp = sIp;
|
||
}
|
||
public String getAppProto() {
|
||
return appProto;
|
||
}
|
||
public void setAppProto(String appProto) {
|
||
this.appProto = appProto;
|
||
}
|
||
public String getUrl() {
|
||
return url;
|
||
}
|
||
public void setUrl(String url) {
|
||
this.url = url;
|
||
}
|
||
public String getReqLine() {
|
||
return reqLine;
|
||
}
|
||
public void setReqLine(String reqLine) {
|
||
this.reqLine = reqLine;
|
||
}
|
||
public String getResLine() {
|
||
return resLine;
|
||
}
|
||
public void setResLine(String resLine) {
|
||
this.resLine = resLine;
|
||
}
|
||
public String getCookie() {
|
||
return cookie;
|
||
}
|
||
public void setCookie(String cookie) {
|
||
this.cookie = cookie;
|
||
}
|
||
public String getReferer() {
|
||
return referer;
|
||
}
|
||
public void setReferer(String referer) {
|
||
this.referer = referer;
|
||
}
|
||
public String getUserAgent() {
|
||
return userAgent;
|
||
}
|
||
public void setUserAgent(String userAgent) {
|
||
this.userAgent = userAgent;
|
||
}
|
||
public String getContentLen() {
|
||
return contentLen;
|
||
}
|
||
public void setContentLen(String contentLen) {
|
||
this.contentLen = contentLen;
|
||
}
|
||
public String getContentType() {
|
||
return contentType;
|
||
}
|
||
public void setContentType(String contentType) {
|
||
this.contentType = contentType;
|
||
}
|
||
public String getSetCookie() {
|
||
return setCookie;
|
||
}
|
||
public void setSetCookie(String setCookie) {
|
||
this.setCookie = setCookie;
|
||
}
|
||
public String getReqHeader() {
|
||
return reqHeader;
|
||
}
|
||
public void setReqHeader(String reqHeader) {
|
||
this.reqHeader = reqHeader;
|
||
}
|
||
public String getRespHeader() {
|
||
return respHeader;
|
||
}
|
||
public void setRespHeader(String respHeader) {
|
||
this.respHeader = respHeader;
|
||
}
|
||
public String getReqBody() {
|
||
return reqBody;
|
||
}
|
||
public void setReqBody(String reqBody) {
|
||
this.reqBody = reqBody;
|
||
}
|
||
public String getRespBody() {
|
||
return respBody;
|
||
}
|
||
public void setRespBody(String respBody) {
|
||
this.respBody = respBody;
|
||
}
|
||
// public String getWebsite() {
|
||
// return website;
|
||
// }
|
||
// public void setWebsite(String website) {
|
||
// this.website = website;
|
||
// }
|
||
public String getHost() {
|
||
return host;
|
||
}
|
||
public void setHost(String host) {
|
||
this.host = host;
|
||
}
|
||
public String getDomain() {
|
||
return domain;
|
||
}
|
||
public void setDomain(String domain) {
|
||
this.domain = domain;
|
||
}
|
||
public String getCategory() {
|
||
return category;
|
||
}
|
||
public void setCategory(String category) {
|
||
this.category = category;
|
||
}
|
||
public String getIsp() {
|
||
return isp;
|
||
}
|
||
public void setIsp(String isp) {
|
||
this.isp = isp;
|
||
}
|
||
public String getPolicyId() {
|
||
return policyId;
|
||
}
|
||
public void setPolicyId(String policyId) {
|
||
this.policyId = policyId;
|
||
}
|
||
public String getStartTime() {
|
||
return startTime;
|
||
}
|
||
public void setStartTime(String startTime) {
|
||
this.startTime = startTime;
|
||
}
|
||
public String getEndTime() {
|
||
return endTime;
|
||
}
|
||
public void setEndTime(String endTime) {
|
||
this.endTime = endTime;
|
||
}
|
||
public String getServerIp() {
|
||
return serverIp;
|
||
}
|
||
public void setServerIp(String serverIp) {
|
||
this.serverIp = serverIp;
|
||
}
|
||
public String getClientIp() {
|
||
return clientIp;
|
||
}
|
||
public void setClientIp(String clientIp) {
|
||
this.clientIp = clientIp;
|
||
}
|
||
public String getServerPort() {
|
||
return serverPort;
|
||
}
|
||
public void setServerPort(String serverPort) {
|
||
this.serverPort = serverPort;
|
||
}
|
||
public String getClientPort() {
|
||
return clientPort;
|
||
}
|
||
public void setClientPort(String clientPort) {
|
||
this.clientPort = clientPort;
|
||
}
|
||
public String getServerLocation() {
|
||
return serverLocation;
|
||
}
|
||
public void setServerLocation(String serverLocation) {
|
||
this.serverLocation = serverLocation;
|
||
}
|
||
public String getClientLocation() {
|
||
return clientLocation;
|
||
}
|
||
public void setClientLocation(String clientLocation) {
|
||
this.clientLocation = clientLocation;
|
||
}
|
||
public String getClientAsn() {
|
||
return clientAsn;
|
||
}
|
||
public void setClientAsn(String clientAsn) {
|
||
this.clientAsn = clientAsn;
|
||
}
|
||
public String getServerAsn() {
|
||
return serverAsn;
|
||
}
|
||
public void setServerAsn(String serverAsn) {
|
||
this.serverAsn = serverAsn;
|
||
}
|
||
public String getSubscribeId() {
|
||
return subscribeId;
|
||
}
|
||
public void setSubscribeId(String subscribeId) {
|
||
this.subscribeId = subscribeId;
|
||
}
|
||
public Integer getConDurationMs() {
|
||
return conDurationMs;
|
||
}
|
||
public void setConDurationMs(Integer conDurationMs) {
|
||
this.conDurationMs = conDurationMs;
|
||
}
|
||
public String getReqBodyKey() {
|
||
return reqBodyKey;
|
||
}
|
||
public void setReqBodyKey(String reqBodyKey) {
|
||
this.reqBodyKey = reqBodyKey;
|
||
}
|
||
public String getResBodyKey() {
|
||
return resBodyKey;
|
||
}
|
||
public void setResBodyKey(String resBodyKey) {
|
||
this.resBodyKey = resBodyKey;
|
||
}
|
||
public String getVersion() {
|
||
return version;
|
||
}
|
||
public void setVersion(String version) {
|
||
this.version = version;
|
||
}
|
||
public String getSni() {
|
||
return sni;
|
||
}
|
||
public void setSni(String sni) {
|
||
this.sni = sni;
|
||
}
|
||
public String getSan() {
|
||
return san;
|
||
}
|
||
public void setSan(String san) {
|
||
this.san = san;
|
||
}
|
||
public String getCn() {
|
||
return cn;
|
||
}
|
||
public void setCn(String cn) {
|
||
this.cn = cn;
|
||
}
|
||
public Integer getAppId() {
|
||
return appId;
|
||
}
|
||
public void setAppId(Integer appId) {
|
||
this.appId = appId;
|
||
}
|
||
public Integer getProtocolId() {
|
||
return protocolId;
|
||
}
|
||
public void setProtocolId(Integer protocolId) {
|
||
this.protocolId = protocolId;
|
||
}
|
||
public Integer getConLatencyMs() {
|
||
return conLatencyMs;
|
||
}
|
||
public void setConLatencyMs(Integer conLatencyMs) {
|
||
this.conLatencyMs = conLatencyMs;
|
||
}
|
||
public Integer getPinningst() {
|
||
return pinningst;
|
||
}
|
||
public void setPinningst(Integer pinningst) {
|
||
this.pinningst = pinningst;
|
||
}
|
||
public Integer getC2sPktNum() {
|
||
return c2sPktNum;
|
||
}
|
||
public void setC2sPktNum(Integer c2sPktNum) {
|
||
this.c2sPktNum = c2sPktNum;
|
||
}
|
||
public Integer getS2cPktNum() {
|
||
return s2cPktNum;
|
||
}
|
||
public void setS2cPktNum(Integer s2cPktNum) {
|
||
this.s2cPktNum = s2cPktNum;
|
||
}
|
||
public Integer getC2sByteNum() {
|
||
return c2sByteNum;
|
||
}
|
||
public void setC2sByteNum(Integer c2sByteNum) {
|
||
this.c2sByteNum = c2sByteNum;
|
||
}
|
||
public Integer getS2cByteNum() {
|
||
return s2cByteNum;
|
||
}
|
||
public void setS2cByteNum(Integer s2cByteNum) {
|
||
this.s2cByteNum = s2cByteNum;
|
||
}
|
||
public String getNasIp() {
|
||
return nasIp;
|
||
}
|
||
public void setNasIp(String nasIp) {
|
||
this.nasIp = nasIp;
|
||
}
|
||
public String getFramedIp() {
|
||
return framedIp;
|
||
}
|
||
public void setFramedIp(String framedIp) {
|
||
this.framedIp = framedIp;
|
||
}
|
||
public String getAccount() {
|
||
return account;
|
||
}
|
||
public void setAccount(String account) {
|
||
this.account = account;
|
||
}
|
||
public Integer getPacketType() {
|
||
return packetType;
|
||
}
|
||
public void setPacketType(Integer packetType) {
|
||
this.packetType = packetType;
|
||
}
|
||
public Integer getCompileId() {
|
||
return compileId;
|
||
}
|
||
public void setCompileId(Integer compileId) {
|
||
this.compileId = compileId;
|
||
}
|
||
public String getStartRecvTime() {
|
||
return startRecvTime;
|
||
}
|
||
public void setStartRecvTime(String startRecvTime) {
|
||
this.startRecvTime = startRecvTime;
|
||
}
|
||
public String getEndRecvTime() {
|
||
return endRecvTime;
|
||
}
|
||
public void setEndRecvTime(String endRecvTime) {
|
||
this.endRecvTime = endRecvTime;
|
||
}
|
||
public String getFoundTime() {
|
||
return foundTime;
|
||
}
|
||
public void setFoundTime(String foundTime) {
|
||
this.foundTime = foundTime;
|
||
}
|
||
public String getRecvTime() {
|
||
return recvTime;
|
||
}
|
||
public void setRecvTime(String recvTime) {
|
||
this.recvTime = recvTime;
|
||
}
|
||
public String getTransProto() {
|
||
return transProto;
|
||
}
|
||
public void setTransProto(String transProto) {
|
||
this.transProto = transProto;
|
||
}
|
||
public Integer getAddrType() {
|
||
return addrType;
|
||
}
|
||
public void setAddrType(Integer addrType) {
|
||
this.addrType = addrType;
|
||
}
|
||
public Integer getEntranceId() {
|
||
return entranceId;
|
||
}
|
||
public void setEntranceId(Integer entranceId) {
|
||
this.entranceId = entranceId;
|
||
}
|
||
public Integer getDeviceId() {
|
||
return deviceId;
|
||
}
|
||
public void setDeviceId(Integer deviceId) {
|
||
this.deviceId = deviceId;
|
||
}
|
||
public Integer getDirection() {
|
||
return direction;
|
||
}
|
||
public void setDirection(Integer direction) {
|
||
this.direction = direction;
|
||
}
|
||
public Integer getStreamDir() {
|
||
return streamDir;
|
||
}
|
||
public void setStreamDir(Integer streamDir) {
|
||
this.streamDir = streamDir;
|
||
}
|
||
public String getCapIp() {
|
||
return capIp;
|
||
}
|
||
public void setCapIp(String capIp) {
|
||
this.capIp = capIp;
|
||
}
|
||
public String getAddrList() {
|
||
return addrList;
|
||
}
|
||
public void setAddrList(String addrList) {
|
||
this.addrList = addrList;
|
||
}
|
||
public String getSceneFile() {
|
||
return sceneFile;
|
||
}
|
||
public void setSceneFile(String sceneFile) {
|
||
this.sceneFile = sceneFile;
|
||
}
|
||
public Integer getService() {
|
||
return service;
|
||
}
|
||
public void setService(Integer service) {
|
||
this.service = service;
|
||
}
|
||
public Integer getFunctionId() {
|
||
return functionId;
|
||
}
|
||
public void setFunctionId(Integer functionId) {
|
||
this.functionId = functionId;
|
||
}
|
||
public Integer getAction() {
|
||
return action;
|
||
}
|
||
public void setAction(Integer action) {
|
||
this.action = action;
|
||
}
|
||
public Integer getEncapType() {
|
||
return encapType;
|
||
}
|
||
public void setEncapType(Integer encapType) {
|
||
this.encapType = encapType;
|
||
}
|
||
public Integer getLinkId() {
|
||
return linkId;
|
||
}
|
||
public void setLinkId(Integer linkId) {
|
||
this.linkId = linkId;
|
||
}
|
||
public String getInnerSmac() {
|
||
return innerSmac;
|
||
}
|
||
public void setInnerSmac(String innerSmac) {
|
||
this.innerSmac = innerSmac;
|
||
}
|
||
public String getInnerDmac() {
|
||
return innerDmac;
|
||
}
|
||
public void setInnerDmac(String innerDmac) {
|
||
this.innerDmac = innerDmac;
|
||
}
|
||
public String getDate() {
|
||
return date;
|
||
}
|
||
public void setDate(String date) {
|
||
this.date = date;
|
||
}
|
||
public String getSeltype() {
|
||
return seltype;
|
||
}
|
||
public void setSeltype(String seltype) {
|
||
this.seltype = seltype;
|
||
}
|
||
public String getSearchFoundStartTime() {
|
||
return searchFoundStartTime;
|
||
}
|
||
public void setSearchFoundStartTime(String searchFoundStartTime) {
|
||
this.searchFoundStartTime = searchFoundStartTime;
|
||
}
|
||
public String getSearchFoundEndTime() {
|
||
return searchFoundEndTime;
|
||
}
|
||
public void setSearchFoundEndTime(String searchFoundEndTime) {
|
||
this.searchFoundEndTime = searchFoundEndTime;
|
||
}
|
||
public String getIsLogTotalSearch() {
|
||
return isLogTotalSearch;
|
||
}
|
||
public void setIsLogTotalSearch(String isLogTotalSearch) {
|
||
this.isLogTotalSearch = isLogTotalSearch;
|
||
}
|
||
public String getOrderBy() {
|
||
return orderBy;
|
||
}
|
||
public void setOrderBy(String orderBy) {
|
||
this.orderBy = orderBy;
|
||
}
|
||
|
||
|
||
|
||
}
|