JSON Parsing MQTT for use with telegraf
Hi,
has someone running successfully this setup with an example? How can i parse successfully the Mqtt date?
MQTT -> MQTT-Broker -> Telegraf -> InfluxDB -> Grafana
Greetings
This is the MQTT tutorial, showing how to publish the data to the MQTT broker.
https://www.iammeter.com/docs/integrate-with-mqtt-server
You can do the subsequent step ( Telegraf -> InfluxDB -> Grafana) by yourself.
There are some similar tutorials (integrate into the Home assistant by MQTT)
https://www.iammeter.com/docs/summary-home-assistant#mqtt-sensor
JSON format
The JSON format in MQTT mode is the same with the other ways(tls,tcp,HTTP,https),
please refer to
https://www.iammeter.com/docs/integrate-with-thirdparty-server#2-how-to-integrate