We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[[outputs.mqtt]] servers = ["localhost:1883", ] topic = 'telegraf/{{ .Tag "topic" }}' batch = false data_format = "template" template = '{{ .Field "msg" }}' [[inputs.mqtt_consumer]] servers = ["tcp://127.0.0.1:1883"] topics = [ "test/#" ] data_format = "value" data_type = "string" value_field_name = "msg"
2024-08-13T23:00:25Z E! [serializers.template::mqtt] metric of type *metric.trackingMetric is not a template metric
Telegraf 1.31.3 (MacOS Silicon)
No response
Incoming message is written to outgoing topic verbatim
Message is empty
I already have a fix for this, can submit a PR shortly.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.31.3 (MacOS Silicon)
Docker
No response
Steps to reproduce
Expected behavior
Incoming message is written to outgoing topic verbatim
Actual behavior
Message is empty
Additional info
I already have a fix for this, can submit a PR shortly.
The text was updated successfully, but these errors were encountered: