# statsName

Name of statistics instance for this action.

This parameter applies to omkafka: write to Apache Kafka.

Name:

  statsName

Scope:

  action

Type:

  word

Default:

  action=none

Required?:

  no

Introduced:

  8.2108.0

## Description

Added in version 8.2108.0.

The name assigned to statistics specific to this action instance. Counters include `submitted`, `acked` and `failures`.

## Action usage

    action(type="omkafka" statsName="producer-1")

## See also

See also omkafka: write to 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.