Fortinet black logo

CLI Reference

system ha export-eventlog

system ha export-eventlog

Use this command to export event logs of the slave node in the HA cluster. This command should be run on the master node.

To download the logs, first run the following command to enable file upload:

config system settings

set enable-file-upload enable

end

Then, go to System > Maintenance > Backup&Restore to download the logs.

Syntax

diagnose system ha export-eventlog <node-index> <start-time> <end-time>

Example

diagnose system ha export-eventlog 2 29/12/2019:00:00:00 31/12/2019:00:00:00

system ha export-eventlog

Use this command to export event logs of the slave node in the HA cluster. This command should be run on the master node.

To download the logs, first run the following command to enable file upload:

config system settings

set enable-file-upload enable

end

Then, go to System > Maintenance > Backup&Restore to download the logs.

Syntax

diagnose system ha export-eventlog <node-index> <start-time> <end-time>

Example

diagnose system ha export-eventlog 2 29/12/2019:00:00:00 31/12/2019:00:00:00