grafana-influx: attempt to fix mqtt parsing with telegraf
This commit is contained in:
parent
842f270e5f
commit
fad39d3624
|
|
@ -8,8 +8,11 @@
|
|||
topics = [ "climate/#" ]
|
||||
data_format = "value"
|
||||
data_type = "float"
|
||||
topic_tag = ""
|
||||
[[inputs.mqtt_consumer.topic_parsing]]
|
||||
topic = "+/+/+"
|
||||
measurement = "climate"
|
||||
tags = "_/device/_"
|
||||
fields= "_/_/field"
|
||||
tags = "_/device/field"
|
||||
|
||||
[[processors.pivot]]
|
||||
tag_key = "field"
|
||||
value_key = "value"
|
||||
|
|
|
|||
Loading…
Reference in New Issue