Hi everyone,
There are some specific events I want to log. I have been reading the FortiOS Log Reference Manual and from what I understand for the logs listed there to show in the fortigate, their corresponding category has to be included in Event Logging within Log & Report - > Log Settings. However for some of the logs listed in the manual, their category (e.g. SSL and wireless) does not show up in the Fortigate Log Settings. If I wanted to log these categories, how would I do this? Also could someone confirm me if by including the category (e.g. system) in the Log Settings, it means all the events whithin that category will be logged, or must someone enable/disable a specific feature for some events to be logged?
You need to take a look at the raw data of log messages. If you're in GUI, just download the log into a text file then you can see like below.
date=2024-07-18 time=08:28:26 eventtime=1721316505827777458 tz="-0700" logid="0100032003" type="event" subtype="system" level="information" vd="root" logdesc="Admin logout successful" sn="xxxxxxxx" user="xxxxxxxx" ui="https(x.x.x.x)" method="https" srcip=x.x.x.x dstip=x.x.x.x action="logout" status="success" duration=709 reason="exit" msg="Administrator xxxxxxxx logged out from https(x.x.x.x)"
Toshi
<edit>You changed the post so my comment doesn't match your query any more.</edit>
then, to comment on your new post, if you're looking for filtering events by "Log Category IDs" like "ssl: 17" in the reference manual, you probably need to enable all event log. Then in CLI, set the filter category to 17: utm-ssl, when you show the event like in the KB.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Displaying-logs-via-FortiGate-s-CLI/ta-p/1...
You probably can't do the same in GUI unfortunately.
Toshi
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1743 | |
1114 | |
760 | |
447 | |
241 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.