Skip to content

Commit

Permalink
MQTT_TOPIC Macro (syslog-ng#76)
Browse files Browse the repository at this point in the history
Added MQTT_TOPIC  macro to the list of available macros.

Signed-off-by: Zsolt Gyulai (zgyulai) <[email protected]>
  • Loading branch information
mrgarris0n committed Jun 5, 2024
2 parents 559f313 + 3d7d7f8 commit 7cbad9e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ The millisecond the message was sent.

Available in {{ site.product.short_name }} version 3.4 and later.

## ${MQTT_TOPIC}

This macro is available in syslog-ng OSE 4.7 and later versions.
The mqtt() source sets the ${MQTT_TOPIC} name-value pair automatically for the messages it receives. This macro can be used when the name of the topic contains MQTT wildcards characters ($, +, #). For more information, see mqtt: Receiving messages from an MQTT broker.

## ${MSG}

The ${MSG} macro is an alias of the ${MESSAGE} macro, using ${MSG} in
Expand Down

0 comments on commit 7cbad9e

Please sign in to comment.