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