grafana-influx: attempt mqtt parsing with telegraf

This commit is contained in:
Daniel Meiburg 2024-07-03 00:23:24 +02:00
parent 8bb58b4cc6
commit 3495169f57
Signed by: dm
GPG Key ID: E5827ECFFE0AA4F2
1 changed files with 7 additions and 3 deletions

View File

@ -5,6 +5,10 @@
token = "$TOKEN"
[[inputs.mqtt_consumer]]
servers = ["tcp://mosquitto:1883"]
topics = [
"climate/#"
]
topics = [ "climate/#" ]
[[inputs.mqtt_consumer.topic_parsing]]
topic = "climate/+/+"
measurement = "measurement/+"
tags = "_/device/_"
_fields= "_/_/measurement"
topic_tag = ""