Description | This article details the optimization of disk logging on FortiGate firewalls. |
Scope | FortiGate, memory, log, disk. |
Solution |
By design FortiGate uses 75% of the disk space.
config log disk setting
This command is used to configure global settings for local disk logging. It governs how logs are stored, managed, and maintained on the device's local storage.
Read about full settings in the CLI reference.
When dealing with high disk usage, the following actions can be taken for optimization:
set diskfull [overwrite|nolog]
set log-quota {integer}
Filters can be defined which log messages are recorded on the local disk, based on the full settings in FortiGate CLI reference
These settings can be used to further optimize the log disk usage by focusing on recording only the necessary logs and reducing the volume of log data.
Related document: |