Web filter statistics
FortiOS provides diagnostics commands to view web filter statistics reports, which are either proxy-based or flow-based. The commands are available in both VDOM and global command lines.
Proxy-based web filter statistics report
Use the diagnose wad filter vd {<VDOM> | global}
command to filter for per-VDOM or global statistics reports.
In the following example, there are two VDOMs (root and vdom1) using proxy-based policies that have web filter profiles enabled.
To view per-VDOM statistics reports:
(global) # diagnose wad filter vd root Drop_unknown_session is enabled.
(global) # diagnose wad stats filter list filtering of vdom root dlp = 0 content-type = 0 urls: examined = 6 allowed = 3 blocked = 0 logged = 0 overridden = 0
(global) # diagnose wad filter vd vdom1 (global) # diagnose wad stats filter list filtering of vdom vdom1 dlp = 0 content-type = 0 urls: examined = 13 allowed = 2 blocked = 9 logged = 8 overridden = 0
(global) # diagnose wad filter vd ALL (global) # diagnose wad stats filter list filtering of all accessible vdoms dlp = 0 content-type = 0 urls: examined = 19 allowed = 5 blocked = 9 logged = 8 overridden = 0
Flow-based web filter statistics report
Use the diagnose webfilter stats list {<VDOM> | global}
command to check the flow-based web filter statistics.
In the following example, the VDOM is using flow-based policies that have web filter profiles enabled.
To view web filter statistics:
# diagnose webfilter stats list root Proxy/flow URL filter stats: request: 9474 blocked: 8606 allowed: 868 overridden:0 logged: 8606 pending: 0