日志dns 字段dns_sub从字典中获取

This commit is contained in:
zhanghongqing
2018-11-16 17:34:45 +08:00
parent 0ece4f5729
commit 2e4817e39b
4 changed files with 9 additions and 2 deletions

View File

@@ -1307,4 +1307,5 @@ set_cookie=set-Cookie
req_header=Request Header
resp_header=Response Header
req_body=Request Body
resp_body=Response Body
resp_body=Response Body
dns_sub=DNS Security

View File

@@ -1308,3 +1308,4 @@ req_header=Request Header
resp_header=Response Header
req_body=Request Body
resp_body=Response Body\u3001
dns_sub=DNS Security

View File

@@ -1304,3 +1304,4 @@ req_header=\u539F\u59CB\u8BF7\u6C42\u5934
resp_header=\u539F\u59CB\u5E94\u7B54\u5934
req_body=\u539F\u59CB\u8BF7\u6C42\u4F53
resp_body=\u539F\u59CB\u5E94\u7B54\u4F53
dns_sub=DNS\u5B89\u5168\u673A\u5236

View File

@@ -277,7 +277,11 @@
</td>
<td title="${log.qname }">${fns:abbr(log.qname, 30)}</td>
<td>${log.cname }</td>
<td>${log.dnsSub }</td>
<td>
<c:forEach items="${fns:getDictList('DNS_SUB')}" var="dnsSub">
<c:if test="${dnsSub.itemCode eq log.dnsSub}">${dnsSub.itemValue}</c:if>
</c:forEach>
</td>
<td title="${log.capIp }">${fns:abbr(log.capIp, 42)}</td>
<td>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="dic">