# statsname

Enables a dedicated per-action statistics counter identified by the provided name.

This parameter applies to omdtls: Output Module for DTLS Protocol over UDP.

Name:

  statsname

Scope:

  input

Type:

  word

Default:

  input=none

Required?:

  no

Introduced:

  v8.2402.0

## Description

This parameter assigns a unique name to a dedicated statistics counter for the `omdtls` action instance. When set, rsyslog tracks separate “submitted” and “failures” counters for this action that can be retrieved via the impstats module by referencing the specified name. This makes it easier to monitor the performance and health of individual DTLS forwarding actions.

If left unset, the action contributes only to the global `omdtls` statistics origin.

## Input usage

    action(type="omdtls"
           target="192.0.2.1"
           port="4433"
           statsName="dtls_to_server1")

## See also

See also omdtls: Output Module for DTLS Protocol over UDP, 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.