Page MenuHomeVyOS Platform

Syslog to Remote Server: Invalid facility type
Open, LowPublicBUG

Description

When setting up Syslog configuration, "logaudit" facility keyword (facility code 13) as referred at the Facilities Table cannot be set-up as explained at the Syslog Configuration Guide

Example:

vyos@vyos# set system syslog host 192.168.0.50 facility logaudit level all

  
  
  Invalid facility type
  Value validation failed
  Set failed

Details

Difficulty level
Unknown (require assessment)
Version
1.2.5
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

This is a typo in the documentation. In the real system, the facility is called security, but it is deprecated at least from the 2004 year.
The problem that I see in names is that it seems that different systems and software may use slightly different names for facilities. So, could be a good idea to do the two things:

  • check existing and add missing facility names in CLI
  • in the actual configuration transparently convert facilities to numeric representation to avoid software issues (like deprecated security facility in rsyslog).

How does e.g. syslog-ng behave?

syncer edited projects, added VyOS 1.4 Sagitta; removed VyOS 1.3 Equuleus, VyOS 1.2 Crux.