# ruleset

Routes mark messages to the named ruleset instead of the default.

This parameter applies to immark: Mark Message Input Module.

Name:

  ruleset

Scope:

  module

Type:

  string (see Rsyslog Parameter String Constants)

Default:

  module=none

Required?:

  no

Introduced:

  8.2012.0

## Description

Set this parameter to bind mark messages emitted by immark to a specific ruleset. The module looks up the ruleset during configuration; if it is not found, immark logs a warning and continues with the default ruleset.

If a ruleset is configured while use.syslogCall remains `on`, immark issues a warning and forces this parameter to `off` so the ruleset can take effect.

## Module usage

    module(load="immark"
           use.syslogCall="off"
           ruleset="markRouting")

## See also

See also

- use.syslogCall

- immark: Mark Message 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.