grafana-influx: attempt to fix mqtt parsing with telegraf
This commit is contained in:
parent
a5f5190b38
commit
842f270e5f
|
|
@ -6,6 +6,8 @@
|
||||||
[[inputs.mqtt_consumer]]
|
[[inputs.mqtt_consumer]]
|
||||||
servers = ["tcp://mosquitto:1883"]
|
servers = ["tcp://mosquitto:1883"]
|
||||||
topics = [ "climate/#" ]
|
topics = [ "climate/#" ]
|
||||||
|
data_format = "value"
|
||||||
|
data_type = "float"
|
||||||
[[inputs.mqtt_consumer.topic_parsing]]
|
[[inputs.mqtt_consumer.topic_parsing]]
|
||||||
topic = "+/+/+"
|
topic = "+/+/+"
|
||||||
measurement = "climate"
|
measurement = "climate"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue