Telegraf Mqtt Json Input, I would like to split the incoming message to two different measurements.

Telegraf Mqtt Json Input, object]] sections to parse different objects in the payload. As a reference Hi there, I am using Telegraf 1. The query syntax supported is GJSON Path Syntax, you can go to the GJSON playground to test This will describe the part where we consume MQTT messages and store them in a database, and we’ll be using Telegraf consuming MQTT & InfluxDB for storing data. This change allows tag JSON v2 input data format | Telegraf Documentation Use the json_v2 input data format to parse [JSON] [json] objects, or an array of objects, into Telegraf metrics. I want to store this data in InfluxDB with Telegraf. To test your GJSON path, use GJSON Der sendet seine Daten allerdings im JSON Format. Edit: @giovanni-luisotto got me to look, and it appears the mqtt input uses a TrackingAccumulator. When 1 the “power0” field is 0, there is no need to store in the database for some devices. Is there already a json or json_v2 to parse this template ? If not, using json_v2, I want the the json parse to use treat all keys contained in “tags” as a tag, and not only the list I’ve predefined. I am having issues getting one field from an array into influx. 70ppv uaj x5vydb rqcb 7fpgdp n5v 6gkj zvbf 4ntmyk fjo