FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
hazim
Staff
Staff
Article Id 216995
Description

This article describes how to configure logging in disk.

Disk Logging can be enabled by using either GUI or CLI.

Scope FortiGate.
Solution

If FortiGate has a hard disk, it is enabled by default to store logs.

This setting can be adjusted by configuring according to the logging requirements.

 

Disk logging is disabled by default, if the FortiGate device only has flash memory because it is not recommended.

Constant rewrites to flash drives can reduce the lifetime and efficiency of the memory.

It needs to be enabled in the CLI's configuration log disk setting.

For some low-end models, disk logging is unavailable.

 

From Web GUI.

1) Log into FortiGate.

2) Go to Log & Report - > Log Settings menu (if Virtual Domain is Enabled, set it under each VDOM).

3) Refer to Local Log - > Enable Memory.

4) Select Apply.

 

Disk Log.PNG

 

Enable log memory via CLI:
 
# config log disk setting
set status enable
end

Setting additional filters using the command:
 
# config log disk filter
show full-configuration
end
Contributors