访问日志可以设置只记录WAF相关日志

This commit is contained in:
GoEdgeLab
2021-01-26 10:29:29 +08:00
parent 2385d6f4e8
commit 5379a5b5d4

View File

@@ -20,7 +20,9 @@ Vue.component("http-access-log-config-box", {
status5: true,
storageOnly: false,
storagePolicies: []
storagePolicies: [],
firewallOnly: false
}
if (this.vAccessLogConfig != null) {
accessLog = this.vAccessLogConfig
@@ -130,6 +132,13 @@ Vue.component("http-access-log-config-box", {
<p class="comment">选中表示只输出日志到日志策略,而停止默认的日志存储。</p>
</td>
</tr>
<tr>
<td>是否只记录WAF相关日志</td>
<td>
<checkbox v-model="accessLog.firewallOnly"></checkbox>
<p class="comment">选中后只记录WAF相关的日志。通过此选项可有效减少访问日志数量降低网络带宽和存储压力。</p>
</td>
</tr>
</tbody>
</table>
<div class="margin"></div>