# ruleset

Binds impstats-generated messages to the specified ruleset for further processing.

This parameter applies to impstats: Generate Periodic Statistics of Internal Counters.

Name:

  ruleset

Scope:

  module

Type:

  string

Default:

  module=none

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

Binds the listener to a specific ruleset.

Note that setting `ruleset` and setting log.syslog (`logSyslog` in camelCase examples) to `off` are mutually exclusive because syslog stream processing must be enabled to use a ruleset.

## Module usage

    module(load="impstats" ruleset="impstatsRules")

## See also

See also impstats: Generate Periodic Statistics of Internal Counters.

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.