Description |
This article describes how to configure logging in disk. Disk Logging can be enabled by using either GUI or CLI. |
Scope | FortiGate. |
Solution |
Disk logging is enabled or disabled by default depending on the model of FortiGate.
For some low-end models, disk logging is unavailable. Constant rewrites to flash drives can reduce the lifetime and efficiency of the memory.
If a FortiGate has a log disk, it can be enabled or disabled by GUI or CLI according to the logging requirement :
Enable Disk logging from Web GUI:
Enable Disk logging via CLI:
config log disk setting
set status enable
end
Setting additional filters using the command: FGT (root) # conf log disk filter FGT (filter) # show full config log disk filter set severity information end Or:
FGT # sh full log disk filter config log disk filter set severity information end
Note:
If a log disk is unavailable, the option to configure the log disk setting will not be present. For certain models, the log disk comes included with the device and it can be adjusted by configuring it according to the logging requirements. To check if the log disk is available or not, follow the command below and check the output of 'Log hard disk'.
FGT # get system status
'Log hard disk: Not available'.
|
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.