Configuring traffic logging

Logging and reporting

 

 

Adding traffic filter entries

Add entries to the traffic filter list to filter the messages that are recorded in the traffic log. If you do not add any entries to the traffic filter list, the FortiGate records all traffic log messages. You can add entries to the traffic filter list to limit the traffic logs that are recorded. You can log traffic with a specified source IP address and netmask, to a destination IP address and netmask and for a specified service. A traffic filter entry can include any combination of source and destination addresses and services.

Use the following procedure to add an entry to the traffic filter list.

1Go to Log&Report > Log Setting > Traffic Filter.

2Select New.

3Configure the traffic filter for the type of traffic that you want to record on the traffic log.

Name

Type a name to identify the traffic filter entry.

Source IP Address Source Netmask

The name can contain numbers (0-9), uppercase and lowercase letters (A-Z, a-z), and the special characters - and _. Spaces and other special characters are not allowed.

Type the source IP address and netmask for which you want the FortiGate unit to log traffic messages. The address can be an individual computer, subnetwork, or network.

Destination IP Address Destination Netmask

Service

Type the destination IP address and netmask for which you want the FortiGate unit to log traffic messages. The address can be an individual computer, subnetwork, or network.

Select the service group or individual service for which you want the FortiGate unit to log traffic messages.

4Select OK.

The traffic filter list displays the new traffic address entry with the settings that you selected in “Enabling traffic logging” on page 286.

Figure 45: Example new traffic address entry

288

Fortinet Inc.

Page 288
Image 288
Fortinet 400 manual Adding traffic filter entries, 288, Destination IP Address Destination Netmask Service