# syslogfacility-text

Returns the textual syslog facility defined in RFC 5424 Table 1.

This property belongs to the Message Properties group.

Name:

  syslogfacility-text

Category:

  Message Properties

Type:

  string

## Description

Returns the human-readable name of the syslog facility (such as `daemon` or `local4`). The names follow the RFC 3164 and RFC 5424 mappings and correspond directly to the numeric property syslogfacility. When the input does not supply a syslog header, rsyslog emits the configured or inferred facility name for the message instead.

## Usage

    template(name="example" type="list") {
        property(name="syslogfacility-text")
    }

### Notes

- Expect the canonical names `kern`, `user`, `mail`, `daemon`, `auth`, `syslog`, `lpr`, `news`, `uucp`, `cron`, `authpriv`, `ftp`, system-reserved slots, and `local0`..``local7``.

- Some systems expose small spelling differences; compare strings carefully if you expect portable configurations.

- Facility selection is independent from severity, but both values combine into `PRI` (`PRI = facility * 8 + severity`).

## See also

See rsyslog Properties for the category overview.

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.