Skip to main content
jasonhong
Staff & Editor
Staff & Editor
October 31, 2022

Technical Tip: How to set FortiManager/FortiAnalyzer max log file size and usage percentage

  • October 31, 2022
  • 0 replies
  • 968 views
Description

 

This article describes how to configure the disk settings for uploading log files and log disk usage in FortiManager/FortiAnalyzer.

 

Scope

 

FortiManager/FortiAnalyzer.

 

Solution

 

1) User is able to set the size at which the log is rolled, in megabytes (1-1024, default = 100) and the percentage at which the log disk will be considered full (50-90, default = 80).

 

# config sys locallog disk setting

    set max-log-file-size <value>

    set log-disk-full-percentage <value>

end

 

2) To view the existing local disk setting, use the below command.

 

# get sys locallog disk setting