Export csv file from influxdb using node-red

I’m new with influxdb and nodered, but I have a task that I need to export the data to csv file using node-red. How can I do this? Is there a more efficient way?

Hi @isbun

It’s probably a better question for the Node-RED forum, but the way I would do it is to use the InfluxDB out node (from node-red-contrib-influxdb (node) - Node-RED) and then direct that flow to a node that would build the CSV. But maybe I am stating what you already know?

There may be an automated tool in InfluxDB to put a .csv file in a location every n minutes, and then Node-RED could pick it up from there?