Logs Log rolling
FortiAnalyzer Version 3.0 MR3 Administration Guide
05-30003-0082-20060925 87
Figure 30: Log rolling settings
Log file should not
exceed
The maximum size of a log file that the FortiAnalyzer unit saves to
the hard disk.
When the log file reaches the specified maximum size, the
FortiAnalyzer unit saves the current log file with an incremental
number and starts a new active log file.
Log file should be
rolled
Set the time of day, when the FortiAnalyzer unit saves the current
log file and starts a new active log file. Select either Daily or
Weekly. If you only want the FortiAnalyzer unit to roll log files
when the file size is reached, select Optional.
Enable log uploading Select to upload log files to an FTP server when a log file rolls.
Server type Select the type of uploading server. Select from:
• File Transfer Protocol (FTP)
• Secure File Transfer Protocol (SFTP)
• Secure Copy Protocol (SCP)
Server IP address Enter the IP address of the FTP server.
Username Enter the user name to connect to the FTP server. The user name
has a default of “anonymous”.
Password Enter the password required to connect to the FTP server.
Confirm Password Re-enter the password to ensure it is entered correctly.
Directory Enter a specific directory on the FTP server to save the log file.
Upload Log files Select when the FortiAnalyzer unit uploads files to the FTP server.
• Select When rolled to upload as soon as the FortiAnalyzer unit
rolls the log file, based on the settings above.
• Select a specific time of the day when the FortiAnalyzer unit
rolls the log file. The FortiAnalyzer unit will upload at the
configured time no matter what the size of the log file is or
when it may be configured to roll to a new file.
Upload rolled files in
gzipped format
Select to compress the content log files in gzipped format before
uploading to the FTP server.
Delete files after
uploading
Select to remove the log file from the FortiAnalyzer hard disk once
the FortiAnalyzer unit completes the upload.