Created on
12-26-2024
11:48 PM
Edited on
01-28-2025
02:53 AM
By
Anthony_E
Description | This article describes how to enable the upload of Logs and Reports to the FTP server in FortiAnalyzer. |
Scope | FortiAnalyzer. |
Solution |
In FortiAnalyzer, except for using the following commands to backup Logs and Reports to the FTP server, there are other options that can be enabled to upload Logs and Reports to the FTP server.
CLI commands to backup Logs and Reports:
execute backup logs <device name(s)| all> <ftp/sftp/scp> <ip> <user name> <password> <directory>
execute backup logs-only <device name(s)| all> <ftp/sftp/scp> <ip> <user name> <password> <directory>
On FortiAnalyzer GUI, go under System settings -> Advanced -> Device Log Settings and enable the 'upload logs using a standard file transfer protocol' option.
On the report settings, enable 'Enable Notification' and select the Output Profile with the enabled 'Upload Report to Server' option.
Troubleshooting: Following CLI commands can be run before starting back up to the FTP/SFTP server:
diag debug app curl -1 diag debug enable
Related documents: Technical Tip: Backup and restore of FortiAnalyzer settings, logs and reports |
|