grafana / mqtt-datasource

MQTT Datasource for Grafana allows streaming data from any MQTT broker running either locally or remotely.
Apache License 2.0
175 stars 51 forks source link

MQTT-DataSource - Transform - Extract fields #72

Open miguelyogui opened 1 year ago

miguelyogui commented 1 year ago

Hello. I need to clarify some doubts. Can you help me?

I'm using Data Source MQQT, I subscribed my topic.

mqtt1

I receive the measurement data, in JSON format,

mqtt3

I assign a transformation with Extract Fields Source Variable - Format Key + value pairs, and I want to apply the value inside a Gauge,

mqtt4

mqtt2

but I am not able to separate all the variables and treat them one at a time ...

mqtt5

Make a Gauge only with the variable PA, make a Gauge only with the variable PB, PC, PT etc...