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.
nithincs
Staff
Staff
Article Id 193512
Description
This article provides commands to increase or decrease the logging space size in memory.

Solution
When FortiGate is enabled with memory logging, defaultly specific amount of memory space will be allocated for memory logging.

It is possible to change this default memory space for logging.
# config log memory global-setting
    set max-size 21097717   <----- Default value in Bytes.
end
To change the value, use below commands.
# config log memory global-setting
    set max-size ?                            <----- Type '?' to know the minimum and maximum value it is possible to set for logging.
aegon-kvm20 # con log  memory  global-setting
aegon-kvm20 (global-setting) # set max-size ?
min:10485760    max:105488588                 <----- Values are in Bytes.

aegon-kvm20 (global-setting) # set max-size 10485760
aegon-kvm20 (global-setting) # end
Note: memory logging is not suggested in Lower end firewall, for troubleshooting any specific issue or for monitoring the traffic logs locally, it is possible to enable the memory logging and disable it later.

Contributors