1.bgp日志
2.增加公共字段、调整部分日志展示项
This commit is contained in:
@@ -25,6 +25,11 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
|
||||
protected String serverLocate;// 服务端地址定位信息
|
||||
protected String clientLocate;// 客户端地址定位信息
|
||||
protected String userRegion; //用户自定义
|
||||
protected String sAsn;//客户端ASN
|
||||
protected String dAsn;//服务端ASN
|
||||
protected String sSubscribeId;//客户端用户名
|
||||
protected String dSubscribeId;//服务端用户名
|
||||
protected String sceneFile;//现场日志文件地址
|
||||
|
||||
protected Integer functionId;
|
||||
protected Integer action;
|
||||
@@ -178,15 +183,58 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
|
||||
public void setClientLocate(String clientLocate) {
|
||||
this.clientLocate = clientLocate;
|
||||
}
|
||||
public String getsAsn() {
|
||||
return sAsn;
|
||||
}
|
||||
public void setsAsn(String sAsn) {
|
||||
this.sAsn = sAsn;
|
||||
}
|
||||
public String getdAsn() {
|
||||
return dAsn;
|
||||
}
|
||||
public void setdAsn(String dAsn) {
|
||||
this.dAsn = dAsn;
|
||||
}
|
||||
public String getsSubscribeId() {
|
||||
return sSubscribeId;
|
||||
}
|
||||
public void setsSubscribeId(String sSubscribeId) {
|
||||
this.sSubscribeId = sSubscribeId;
|
||||
}
|
||||
public String getdSubscribeId() {
|
||||
return dSubscribeId;
|
||||
}
|
||||
public void setdSubscribeId(String dSubscribeId) {
|
||||
this.dSubscribeId = dSubscribeId;
|
||||
}
|
||||
public String getSceneFile() {
|
||||
return sceneFile;
|
||||
}
|
||||
public void setSceneFile(String sceneFile) {
|
||||
this.sceneFile = sceneFile;
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return "BaseLogEntity [cfgId=" + cfgId + ", foundTime=" + foundTime + ", recvTime=" + recvTime + ", transProto="
|
||||
+ transProto + ", addrType=" + addrType + ", dIp=" + dIp + ", sIp=" + sIp + ", dPort=" + dPort
|
||||
+ ", sPort=" + sPort + ", service=" + service + ", entranceId=" + entranceId + ", deviceId=" + deviceId
|
||||
+ ", direction=" + direction + ", streamDir=" + streamDir + ", capIp=" + capIp + ", addrList="
|
||||
+ addrList + ", serverLocate=" + serverLocate + ", clientLocate=" + clientLocate + ", userRegion="
|
||||
+ userRegion + ", functionId=" + functionId + ", action=" + action + ", seltype=" + seltype
|
||||
+ ", searchFoundStartTime=" + searchFoundStartTime + ", searchFoundEndTime=" + searchFoundEndTime + "]";
|
||||
return "{\"cfgId\"=\"" + cfgId + "\", \"foundTime\"=\"" + foundTime
|
||||
+ "\", \"recvTime\"=\"" + recvTime + "\", \"transProto\"=\""
|
||||
+ transProto + "\", \"addrType\"=\"" + addrType
|
||||
+ "\", \"dIp\"=\"" + dIp + "\", \"sIp\"=\"" + sIp
|
||||
+ "\", \"dPort\"=\"" + dPort + "\", \"sPort\"=\"" + sPort
|
||||
+ "\", \"service\"=\"" + service + "\", \"entranceId\"=\""
|
||||
+ entranceId + "\", \"deviceId\"=\"" + deviceId
|
||||
+ "\", \"direction\"=\"" + direction + "\", \"streamDir\"=\""
|
||||
+ streamDir + "\", \"capIp\"=\"" + capIp
|
||||
+ "\", \"addrList\"=\"" + addrList + "\", \"serverLocate\"=\""
|
||||
+ serverLocate + "\", \"clientLocate\"=\"" + clientLocate
|
||||
+ "\", \"userRegion\"=\"" + userRegion + "\", \"sAsn\"=\""
|
||||
+ sAsn + "\", \"dAsn\"=\"" + dAsn + "\", \"sSubscribeId\"=\""
|
||||
+ sSubscribeId + "\", \"dSubscribeId\"=\"" + dSubscribeId
|
||||
+ "\", \"sceneFile\"=\"" + sceneFile + "\", \"functionId\"=\""
|
||||
+ functionId + "\", \"action\"=\"" + action
|
||||
+ "\", \"seltype\"=\"" + seltype
|
||||
+ "\", \"searchFoundStartTime\"=\"" + searchFoundStartTime
|
||||
+ "\", \"searchFoundEndTime\"=\"" + searchFoundEndTime + "}";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user