Description |
This article describes how to configure traffic/event logging to the onboard disk storage on the FortiGate. Disk Logging can be enabled by using either the GUI or the CLI. |
Scope | FortiGate. |
Solution |
Before beginning, take note of the following regarding disk logging on the FortiGate:
If the FortiGate has a log disk, it can be enabled/disabled via the GUI or the CLI, based on the administrator's logging requirements:
Enable disk logging via the Web GUI:
Enable Disk logging via the CLI:
config log disk setting
set status enable
end
It is also possible to configure additional filters for disk logging within the CLI:
FGT (root) # config log disk filter FGT (filter) # show full config log disk filter set severity information end Or:
FGT # show full log disk filter config log disk filter set severity information end
Note:
If a log disk is unavailable on the FortiGate then the option to configure the log disk setting will not be present. To check if the log disk is available or not, run the following command and check the output of 'Log hard disk' (status will say 'Available' or 'Not available'): FGT-60F # get system status | grep Log
Log hard disk: Not available FGT-61F # get system status | grep Log
Log hard disk: Available
On the FortiGate 30G model, although a log disk is available, it is restricted to 'event' logs only, and logging forward traffic to the disk is not possible. For more information, refer to Technical Tip: Limitations of Disk Logging on FortiGate-30G Firewalls.
|
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.