Skip to content
A new version of FortiLogger is out.See what’s new

Log Import/Export

Export past logs to FTP, a network share or a local server, import signed log backups to review them in the interface, and check daily log volumes and sizes.

On the Log Import / Export page, you can do the following:

  • Export the retrospective logs to a location you specify (FTP, network, local server).
  • Likewise, import your signed log backups from a location you specify (FTP, network, local server) and review them in the FortiLogger interface.
  • Examine the normal size of the logs received during the day and their compressed size on the disk, and see the amount of these logs.

Exporting Logs

  • Go to Tools > Log Import / Export > Export.

1 - Viewing Logs in the Database

On the Export page, you can see the logs that can be exported in the database in a retrospective chronological order as in the image below.

Information

The logs on this page are pulled from the database. If a database reset has been made before, your logs before that date will not be visible.

Export tab listing daily log collections with size, on-disk size, log count and Ready status for export

2 - Exporting Logs

  1. Select the log or logs you want to export and click the Select Export Destination button.
  2. After selecting a destination on the next screen and pressing the Check button, you will receive the connection successful notice.
  3. Optionally, select the Compress Exported Files option and press the Save / Select button.
  4. Finally, you can start the export by clicking the Run Export button.

Select Export Destination menu with a Server (localhost) location checked, Compress Exported Files ticked and two days selected

3 - Completing the Transfer Process

After the process is complete, it will look like the following.

Export results with progress bars at 100% Complete and Completed status for the selected log collections

Importing Logs

  • Go to Tools > Log Import / Export > Import.

1 - Selecting Destination for Import

  1. Specify from which location you will select the log backups you want to import. For example, if you want to import from your local disk, select Server. (You can also import with FTP and Network options, you need to enter the necessary information for this.)
  2. Then copy the file path as below, not including the folder created with the device serial number, and paste it into the Location section of the Server option and then press the Check button and receive the connection successful notice.
  3. Finally, press the Save / Select button.

1.

Windows Explorer log backup folder whose path is copied, containing the subfolder named after the FortiGate serial number

2.

Import tab Server (localhost) option with the backup folder path in Location and a successful connection check

2 - Selecting Log Folder

After pressing the Save / Select button, the device serial number page will automatically open as in the image below. Continue by pressing the Select button.

Please select database dialog with the FortiGate serial number folder chosen under Db names and the Select button

3 - Importing Logs

After pressing the Select button, the logs that can be imported for the relevant device will be listed. Select the log or logs you want to import from this list and continue by pressing the Run Import button. After importing the logs, it will appear as follows.

Import results showing imported log counts, 100% progress bars and Completed status for each log collection

4 - Examining Logs

You can review the imported logs from the Logs > View Logs page as in the image.

Log View page listing the imported logs, filtered by the imported date and the device in the Device selector

Was this page helpful?