修改日志ddos拆分为两个日志

This commit is contained in:
zhanghongqing
2018-10-15 11:12:00 +08:00
parent 6880363d9a
commit e75c540e74
7 changed files with 39 additions and 25 deletions

View File

@@ -31,7 +31,8 @@ $(document).ready(function(){
<div class="theme-panel hidden-xs hidden-sm">
</div>
<h3 class="page-title">
<spring:message code="target_ip_protect"/>
<c:if test="${log.isBlock eq 1 }"><spring:message code="protected_ddos"/></c:if>
<c:if test="${log.isBlock eq 0 }"><spring:message code="usual_ddos"/></c:if>
</h3>
<h5 class="page-header"></h5>
@@ -44,6 +45,7 @@ $(document).ready(function(){
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<input id="functionId" name="functionId" type="hidden" value="${log.functionId}"/>
<input id="isLogTotalSearch" name="isLogTotalSearch" type="hidden" value="${log.isLogTotalSearch}"/>
<input id="isBlock" name="isBlock" type="hidden" value="${log.isBlock}"/>
<!-- 筛选按钮展开状态-->
<input id="isFilterAction" name="isFilterAction" type="hidden" value="${log.isFilterAction }"/>
@@ -89,7 +91,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2 hidden">
<div class="form-group">
<label><spring:message code="transport_layer_protocol"/></label>
<label><spring:message code="protocol_type"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -167,23 +169,23 @@ $(document).ready(function(){
<th><spring:message code='last_attack_time'/></th>
<th><spring:message code='attack_max_pps'/></th>
<th><spring:message code='attack_max_bps'/></th>
<th><spring:message code='attack_total_pkt'/></th>
<th><spring:message code='attack_total_byte'/></th>
<th><spring:message code='is_blcok'/></th>
<%-- <th><spring:message code='attack_total_pkt'/></th> --%>
<%-- <th><spring:message code='attack_total_byte'/></th> --%>
<%-- <th><spring:message code='is_blcok'/></th> --%>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>
<%-- <th><spring:message code='clientip'/></th> --%>
<th><spring:message code='serverport'/></th>
<th><spring:message code='clientport'/></th>
<%-- <th><spring:message code='clientport'/></th> --%>
<th><spring:message code='deviceid'/></th>
<th><spring:message code='direct'/></th>
<th><spring:message code='stream_type'/></th>
<%-- <th><spring:message code='nest_addr_list'/></th> --%>
<th><spring:message code='server_locate'/></th>
<th><spring:message code='client_locate'/></th>
<%-- <th><spring:message code='client_locate'/></th> --%>
<th><spring:message code='s_asn'/></th>
<th><spring:message code='d_asn'/></th>
<th><spring:message code='s_subscribe_id'/></th>
@@ -222,13 +224,13 @@ $(document).ready(function(){
<td><fmt:formatDate value="${log.lastAttackTime}" pattern="yyyy-MM-dd HH:mm:ss" /></td>
<td>${log.attackMaxPps}</td>
<td>${log.attackMaxBps}</td>
<td>${log.attackTotalPkt}</td>
<td>${log.attackTotalByte}</td>
<td>
<%-- <td>${log.attackTotalPkt}</td> --%>
<%-- <td>${log.attackTotalByte}</td> --%>
<%-- <td>
<c:forEach items="${fns:getDictList('SYS_YES_NO')}" var="dic">
<c:if test="${dic.itemCode eq log.isBlcok}"><spring:message code="${dic.itemValue}"/></c:if>
<c:if test="${dic.itemCode eq log.isBlock}"><spring:message code="${dic.itemValue}"/></c:if>
</c:forEach>
</td>
</td> --%>
<td title="${log.capIp }">${fns:abbr(log.capIp, 42)}</td>
<td>${log.transProto}</td>
<td>
@@ -237,9 +239,9 @@ $(document).ready(function(){
</c:forEach>
</td>
<td title="${log.dIp }">${fns:abbr(log.dIp, 42)}</td>
<td title="${log.sIp }">${fns:abbr(log.sIp, 42)}</td>
<%-- <td title="${log.sIp }">${fns:abbr(log.sIp, 42)}</td> --%>
<td>${log.dPort}</td>
<td>${log.sPort}</td>
<%-- <td>${log.sPort}</td> --%>
<td>
<c:forEach items="${fns:getDictList('DEVICE')}" var="device">
<c:if test="${device.itemCode eq log.deviceId}"><spring:message code="${device.itemValue}"/></c:if>
@@ -259,7 +261,7 @@ $(document).ready(function(){
<%-- ${fns:stringFormat(log.addrList,30)} --%>
<!-- </td> -->
<td>${log.serverLocate}</td>
<td>${log.clientLocate}</td>
<%-- <td>${log.clientLocate}</td> --%>
<td>${log.sAsn}</td>
<td>${log.dAsn}</td>
<td>${log.sSubscribeId}</td>