# ruleset

Assigns the rsyslog ruleset that processes messages received via imkafka.

This parameter applies to imkafka: read from Apache Kafka.

Name:

  ruleset

Scope:

  module, input

Type:

  string

Default:

  module=``none``; input=``none``

Required?:

  no

Introduced:

  8.27.0

## Description

Binds the input to a specific ruleset for processing. If not specified, messages are passed to the default ruleset. When set at the module level, the value becomes the default ruleset for inputs that do not override it.

## Module usage

    module(load="imkafka" ruleset="kafkaRules")

    # This input will use 'kafkaRules' ruleset
    input(type="imkafka" topic="my-topic")

## Input usage

    module(load="imkafka")
    input(type="imkafka" topic="static" ruleset="kafkaRules")

## See also

See also imkafka: read from Apache Kafka.

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.