# DefaultFacility

Fallback facility used if a journal entry lacks `SYSLOG_FACILITY`.

This parameter applies to imjournal: Systemd Journal Input Module.

Name:

  DefaultFacility

Scope:

  module

Type:

  word

Default:

  module=LOG_USER

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

Specifies the facility assigned to messages missing the `SYSLOG_FACILITY` field. Values may be given as facility names or numbers.

## Module usage

    module(load="imjournal" DefaultFacility="...")

### Legacy names (for reference)

- $ImjournalDefaultFacility — maps to DefaultFacility (status: legacy)

## See also

See also imjournal: Systemd Journal Input Module.

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.