# Enable logging for monitored traffic

To generate log data that can be forwarded to an external host, you must enable logging for the traffic that you want to monitor.

##

For more details about the product and how to configure features, click Help or press F1.

## Steps

1. Select Configuration.
2. Expand Policies, then browse to the type of policy you want to edit.
3. Right-click the policy and select Edit <policy type>.
4. Click the IPv4 Access or IPv6 Access tab, then edit the rule that allows the traffic that you want to monitor.
   If there is no Access rule for the traffic that you want to monitor, create the Access rule.
5. Double-click the Logging cell.
6. Select Override Collected Values Set With “Continue” Rules.
7. From the Log Level drop-down list, select Stored or Essential.
8. (Optional) If you want to forward logs using the NetFlow or IPFIX format, select Log Accounting Information in the Connection Closing drop-down list.
9. Click OK.
10. Save and install the policy to start using the new configuration.