Configuring rolling and uploading of logs using the GUI
Go to System Settings > Advanced > Device Log Setting to configure device log settings.
Configure the following settings, and then select Apply:
Registered Device Logs |
|||
|
Roll log file when size exceeds |
Enter the log file size, from 10 to 500MB. Default: 200MB. |
|
|
Roll log files at scheduled time |
Select to roll logs daily or weekly.
|
|
|
Upload logs using a standard file transfer protocol |
Select to upload logs and configure the following settings. |
|
|
|
Upload Server Type |
Select one of FTP, SFTP, or SCP. |
|
|
Upload Server IP |
Enter the IP address of the upload server. |
|
|
User Name |
Enter the username used to connect to the upload server. |
|
|
Password |
Enter the password used to connect to the upload server. |
|
|
Remote Directory |
Enter the remote directory on the upload server where the log will be uploaded. |
|
|
Upload Log Files |
Select to upload log files when they are rolled according to settings selected under Roll Logs, or daily at a specific hour. |
|
|
Upload rolled files in compressed file format |
Select to compress the logs before uploading. This will result in smaller logs and faster upload times. |
|
|
Delete files after uploading |
Select to remove device log files from the FortiAnalyzer system after they have been uploaded to the Upload Server. |
Local Device Log |
|||
|
Send the local event logs to FortiAnalyzer / FortiManager |
Select to send local event logs to another FortiAnalyzer or FortiManager device. |
|
|
|
IP Address |
Enter the IP address of the FortiAnalyzer or FortiManager. |
|
|
Upload Option |
Select to upload logs in real time or at a scheduled time. When selecting a scheduled time, you can specify the hour and minute to upload logs each day. |
|
|
Severity Level |
Select the minimum log severity level from the dropdown list. This option is only available when Upload Option is Realtime. |
|
|
Reliable log transmission |
Select to use reliable log transmission. |
|
|
Secure connection |
Select to use a secure connection for log transmission. This option is only available when Reliable log transmission is selected. |
|
|
Peer Certificate CN |
Enter the certificate common name of syslog server. Null means no certificate CN for the syslog server. This option is only available when Reliable log transmission is enabled. |