FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
rahul_p1
Staff
Staff
Article Id 411370
Description This article describes how to send only selected logs to the Syslog server.
Scope FortiGate.
Solution

Navigate to Log & Report -> Log Settings. Under Global Settings, log forwarding to the syslog server can be customized.

 

rahul_p1_0-1758181751140.png

 

Starting from FortiOS v7.6.1, administrators can choose to log local traffic either globally or on a per-policy basis.

 

rahul_p1_1-1758181751143.png

 

In FortiOS v7.2.8+, the per-policy option will not be available.

 

rahul_p1_2-1758181751147.png

 

Run the following commands from the CLI:

 

config log syslogd filter

    set severity (parameter) 
end

 

The parameter value can be specified as per requirements, which include, debug, information, notification, warning, error, critical, alert, emergency.

 

Related article:

Technical Tip: How to configure syslog on FortiGate