Description

Logs are not getting sent to a server. No sessions are created. 

Configuration shows as follow:


set system syslog archive size 100k

set system syslog archive files 3

set system syslog user * any emergency

set system syslog host X.X.X.X any any

set system syslog host X.X.X.X any any port ####

set system syslog file messages any warning

set system syslog file messages authorization info

set system syslog file interactive-commands interactive-commands error

set system syslog file policy_session user info

set system syslog file policy_session match RT_FLOW

set system syslog file policy_session archive size 1000k

set system syslog file policy_session archive world-readable

set system syslog file policy_session structured-data

set system syslog file almost-all-logs any any

set system syslog file almost-all-logs interactive-commands none

set system syslog file almost-all-logs match "!.(RT_FLOW)"

Symptoms

  • Logs are not getting sent to a server.
  • No sessions are created. 

Solution

Missing configuration needs to be included:

 

  • set system syslog host X.X.X.X port #### structured-data
  • set system syslog host X.X.X.X port #### any any

Modification History

2023-11-21 : Article Created
2/6/2024: Formatting corrections made