Logging and reporting

Recording logs

 

 

4Select the severity level for which you want to record log messages.

The FortiGate will log all levels of severity down to but not lower than the level you choose. For example, if you want to record emergency, alert, critical, and error messages, select Error.

5Select Config Policy.

To configure the FortiGate to filter the types of logs and events to record, use the procedures in “Filtering log messages” on page 284 and “Configuring traffic logging” on page 286.

6Select Apply.

Recording logs on the FortiGate hard disk

You can record log files on the FortiGate hard disk if one is installed in your FortiGate unit.

To record logs on the FortiGate hard disk:

1Go to Log&Report > Log Setting.

2Select Log to Local.

3Type a maximum log file size (in Mbytes).

When the log file reaches this size, the current log file is closed and saved and a new active log file is started. The default maximum log file size is 10 Mbytes and the maximum allowed is 2 GBytes.

4Type a log time interval (in days).

After the specified time interval, the current log file is closed and saved and a new one is started. The default log time interval is 10 days.

5Select the severity level for which you want to record log messages.

The FortiGate will log all levels of severity down to but not lower than the level you choose. For example, if you want to record emergency, alert, critical, and error messages, select Error.

6Select Config Policy.

To configure the FortiGate to filter the types of logs and events to record, use the procedures in “Filtering log messages” on page 284 and “Configuring traffic logging” on page 286.

7Set Log options when disk is full to:

Overwrite

Delete the oldest log file when the hard disk is full. Overwrite is the default

 

option.

Block traffic

Block all network traffic when the hard disk is full.

Do not log

Stop logging messages when the hard disk is full.

8Select Apply.

FortiGate-400 Installation and Configuration Guide

283

Page 283
Image 283
Fortinet 400 manual Recording logs on the FortiGate hard disk, 283, Overwrite, Option