日志行为识别去掉App_label字段,增加五个标签

LABEL_PROTO_ID
LABEL_OS_ID
LABEL_BS_ID
LABEL_BEHAV_ID
LABEL_APP_ID
This commit is contained in:
zhanghongqing
2018-08-13 17:26:16 +08:00
parent 84d548b6fd
commit b8d742e11c
6 changed files with 85 additions and 8 deletions

View File

@@ -361,5 +361,13 @@
<function-signature>java.lang.String stringFormat(java.lang.String, int)</function-signature>
<example>${fns:stringFormat(str,len)}</example>
</function>
<!-- 根据表名取出标签集合 -->
<function>
<description>根据code的名称取出标签名</description>
<name>getCodeList</name>
<function-class>com.nis.util.CodeDicUtils</function-class>
<function-signature>java.util.List getCodeList(java.lang.String)</function-signature>
<example>${fns:getCodeList(str)}</example>
</function>
</taglib>

View File

@@ -162,7 +162,11 @@ $(document).ready(function(){
<th><spring:message code='found_time'/></th>
<th><spring:message code='entrance'/></th>
<th><spring:message code='app_label'/></th>
<th><spring:message code='behavior_protocol'/></th>
<th><spring:message code='os_type'/></th>
<th><spring:message code='browser_type'/></th>
<th><spring:message code='behaviour_type'/></th>
<th><spring:message code='social_app'/></th>
<th><spring:message code='c2s_pkt_num'/></th>
<th><spring:message code='s2c_pkt_num'/></th>
<th><spring:message code='c2s_byte_num'/></th>
@@ -204,7 +208,39 @@ $(document).ready(function(){
</td>
<td>
${log.appLabel}
<c:forEach items="${fns:getCodeList('protocolCode')}" var="dict">
<c:if test="${dict.code eq log.labelProtoId}">
<spring:message code="${dict.item}"/>
</c:if>
</c:forEach>
</td>
<td>
<c:forEach items="${fns:getCodeList('osCode')}" var="dict">
<c:if test="${dict.code eq log.labelOsId}">
<spring:message code="${dict.item}"/>
</c:if>
</c:forEach>
</td>
<td>
<c:forEach items="${fns:getCodeList('browserCode')}" var="dict">
<c:if test="${dict.code eq log.labelBsId}">
<spring:message code="${dict.item}"/>
</c:if>
</c:forEach>
</td>
<td>
<c:forEach items="${fns:getCodeList('behaviorCode')}" var="dict">
<c:if test="${dict.code eq log.labelBehavId}">
<spring:message code="${dict.item}"/>
</c:if>
</c:forEach>
</td>
<td>
<c:forEach items="${fns:getCodeList('appCode')}" var="dict">
<c:if test="${dict.code eq log.labelAppId}">
<spring:message code="${dict.item}"/>
</c:if>
</c:forEach>
</td>
<td>${log.c2sPktNum}</td>
<td>${log.s2cPktNum}</td>