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

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

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT