![](/images/new-backgrounds/1146889/14688947x1.webp)
Sending device logs to the FortiLog unit | Connecting to the FortiLog Unit |
|
|
Figure 7: FortiGate 2.8 log settings
5Enter the IP address of the FortiLog unit.
6Set the level that the FortiGate unit logs messages to the FortiLog unit.
The FortiGate unit logs all messages at and above the logging severity you select. For example, if you select Error, the device logs Error, Critical, Alert and Emergency level messages. For a list of severity levels, see “Log policy” on page 45.
7Select Enable encryption to send the log files through an IPsec connection. If you choose to send encrypted log files:
•Enter a Local ID for the FortiGate unit. Use an ID that represents the FortiGate unit. For example,
•Enter an encryption key. You must also specify the identical value on the FortiLog unit. For security reasons, the encryption key should be more than six characters in length and contain a mixture of alpha and numeric characters.
Configuring FortiGate devices running FortiOS 2.5
If your FortiGate unit is running with FortiOS version 2.5, use the following procedure to configure the FortiGate unit to record log messages on a remote system.
To configure the FortiGate unit to send log files to the FortiLog unit
1 Go to Log&Report > Log Setting.
24 | Fortinet Inc. |