Skip to main content
ckarwei
Staff
Staff
January 4, 2022

Technical Tip: Enabling policy comment in log

  • January 4, 2022
  • 0 replies
  • 899 views
Description

This article describes how to enable policy comment in log field.

Scope  
Solution

1) By default, firewall policy comments will not write into log.

 

2) This can be enable with the CLI commands below.

 

FGT # config log setting

(setting) set log-policy-comment enable

(setting) end

 

3) After enabled the setting, a new log field 'comment' will be showing on the raw logs.

 

This information can be use in the log filter.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!