Technical Tip: How to view allowed URLs in the web filter logs
| Description | This article describes how to log and view ALLOWED web requests in FortiGate Web Filter logs for both FortiGuard category-based filtering and Static URL Filter. It includes updated GUI paths for FortiOS 7.2+ and CLI options that avoid changing category actions to Monitor. |
| Scope | Scope FortiGate (FortiOS 5.2 and later; GUI paths updated through FortiOS 7.6). |
| Solution | Prerequisites:
Method 1:
FortiGuard Categories: change the action from Allow to Monitor for the categories desired to be audited.
To get to the FortiGuard Categories lookup page, click here
Method 2:
config webfilter profile edit "<profile-name>" set log-all-url enable set web-url-log enable next end
If additional HTTP header details is needed, enable extended logging. Extended log data may be truncated depending on the log target.
CLI:
config webfilter profile edit "<profile-name>" set extended-log enable set web-extended-all-action-log enable next end
Where to find the logs (FortiOS GUI):
Related articles: Technical Tip: How to get a complete URL log Technical Tip: Log all user traffic URLs using web filter profile Technical Tip: Explanation of the Allow, Block, Exempt, and Monitor static URL filter actions |


