Skip to content

Commit 7cbad9e

Browse files
authored
MQTT_TOPIC Macro (#76)
Added MQTT_TOPIC macro to the list of available macros. Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
2 parents 559f313 + 3d7d7f8 commit 7cbad9e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/_admin-guide/110_Template_and_rewrite/000_Customize_message_format/004_Macros_of_syslog-ng.md

+5
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@ The millisecond the message was sent.
218218

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

221+
## ${MQTT_TOPIC}
222+
223+
This macro is available in syslog-ng OSE 4.7 and later versions.
224+
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.
225+
221226
## ${MSG}
222227

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

0 commit comments

Comments
 (0)