System Settings : Advanced : Device log settings
 
Device log settings
The FortiManager allows you to log system events to disk. For more information, see “Log View”.
The device log settings menu window allows you to configure event logging to disk, and allows you to configure the following options:
Log rotation settings
Log uploading
To configure log settings, go to System Settings > Advanced > Device Log Setting.
Figure 71: Device log setting window
Configure the following settings and then select Apply:
Rollover Options
 
 
Roll log file when size exceeds...
Enter the size, in megabytes, that the log file can be before it is rolled. Maximum allowed log file size is 500MB.
 
Roll log files at regular time
Select to roll the log file at a regular time.
If selected:
Select to roll the logs on a weekly or daily basis from the drop-down menu
Select the hour and minute to roll the log files from the drop-down menus.
Enable log uploading
Select to upload real-time logs.
 
Upload Server Type
Select one of FTP, SFTP, or SCP.
 
Upload Server IP
Enter the IP address of the upload server.
 
Username
Select the username that will be used to connect to the server.
 
Password
Select the password that will be used to connect to the server.
 
Remote Directory
Select the remote directory on the server where the log will be uploaded.
 
When rolled
Select to upload log files when they are rolled according to settings selected under Roll Logs.
 
Daily at
Select the hour to upload the logs. The hour is based on a 24 hour clock
 
Upload rolled files in gzipped format
Select to gzip the logs before uploading. This will result in smaller logs and faster upload times.
 
Delete files after uploading
Select to remove log files from the FortiManager system after they have been uploaded to the server.