# eventproperties

Adds custom key-value properties to each AMQP message emitted by the action.

This parameter applies to omazureeventhubs: Microsoft Azure Event Hubs Output Module.

Name:

  eventproperties

Scope:

  input

Type:

  array

Default:

  input=none

Required?:

  no

Introduced:

  v8.2304

## Description

The `eventProperties` configuration property is an array property used to add key-value pairs as additional properties to the encoded AMQP message object, providing additional information about the log event. These properties can be used for filtering, routing, and grouping log events in Azure Event Hubs.

The `eventProperties` property is an array of strings, where each string is a key-value pair with the key and value separated by an equal sign.

For example, the following configuration adds two event properties inside an action definition:

    action(
        type="omazureeventhubs"
        # ... other parameters
        eventProperties=["Table=TestTable",
                         "Format=JSON"]
    )

In this example, the Table and Format keys are added to the message object as event properties, with the corresponding values of `TestTable` and `JSON`, respectively.

## Input usage

    action(type="omazureeventhubs" eventProperties=["Table=TestTable", "Format=JSON"] ...)

## See also

See also omazureeventhubs: Microsoft Azure Event Hubs Output 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.