Skip to main content
dshiraddi
Staff
Staff
December 17, 2019

Technical Tip: Filter traffic statistic syslogs

  • April 16, 2026 at 12:47 PM
  • 0 replies
  • 4517 views

Description


This articles describes how to disable the additional traffic statistics logs sent from FortiGate to syslog server.

 

Scope

 

ForitGate.

Solution


'Logid' = 0000000020 is the statistic log for long live session which is added in 5.6.6, 6.0.1 and 6.2.0.
This is recorded every two minutes when a session is longer than 2 minutes and is used to improve accuracy sent/received data in in FortiView.

The following command is to disable these statistics logs sent to syslog server:

 

Config log syslogd filter
   set filter "logid(0000000020)"
   set filter-type exclude
   end

 

Important:

Starting v7.0 onwards, the syslog filtering syntax has been changed.


Refer to 'free-style' syslog filters on those Firmware versions:

Technical Tip: Using syslog free-style filters

Technical Tip: Configuring advanced syslog free-style filters

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT