From c030e31aed19bc1761143b6c00209e0097968897 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Wed, 25 Jan 2023 13:11:31 -0700 Subject: [PATCH] docs(outputs.mqtt): update readme to match sample config (#12552) --- plugins/outputs/mqtt/sample.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/outputs/mqtt/sample.conf b/plugins/outputs/mqtt/sample.conf index 50d999d42..9d87e94f1 100644 --- a/plugins/outputs/mqtt/sample.conf +++ b/plugins/outputs/mqtt/sample.conf @@ -16,7 +16,7 @@ ## {{ .TopicPrefix }}/{{ .Hostname }}/{{ .PluginName }}/{{ .Tag "tag_key" }} ## (e.g. prefix/web01.example.com/mem/some_tag_value) ## Each path segment accepts either a template placeholder, an environment variable, or a tag key - ## of the form `{{.Tag "tag_key_name"]]`. Empty path elements as well as special MQTT characters + ## of the form `{{.Tag "tag_key_name"}}`. Empty path elements as well as special MQTT characters ## (such as `+` or `#`) are invalid to form the topic name and will lead to an error. ## In case a tag is missing in the metric, that path segment omitted for the final topic. topic = "telegraf/{{ .Hostname }}/{{ .PluginName }}"