Hello guys, I would like to know how to input this string into influxdb using a batch node.
[{"name":"airflow","description":"","unit":"","values":[{"value":0,"timestamp":"2021-06-09T08:40:46.237Z"}]},{"name":"current","description":"","unit":"","values":[{"value":227,"timestamp":"2021-06-09T08:40:46.237Z"}]}]
Currently im doing it in a way that i would need as many change nodes as measurements to change msg.payload to value and msg.measurement to the measurement name.
This poses an upsizing issue where if I had more measurements, I would have to add in more change nodes. Iv looked at flows help and examples but im having trouble getting set up with my string.
Please help