OLAP DoS Detection重组日志结构适配。(TSG-17836)

This commit is contained in:
wangchengcheng
2023-12-11 09:50:28 +08:00
parent 52336accbd
commit 91cb1ce5d2
6 changed files with 36 additions and 9 deletions

View File

@@ -185,6 +185,7 @@ public class DosDetection extends ProcessFunction<DosSketchLog, DosEventLog> {
private DosEventLog getResult(DosSketchLog value, long base, long profileId, Severity severity, double percent, int type, String tag) {
DosEventLog dosEventLog = new DosEventLog();
dosEventLog.setRecv_time(value.getCommon_recv_time());
dosEventLog.setLog_id(SnowflakeId.generateId());
dosEventLog.setVsys_id(value.getVsys_id());
dosEventLog.setStart_time(value.getSketch_start_time());