mblackstock / node-red-contrib-influxdb

Node-RED nodes to save and query data from an influxdb time series database
Other
64 stars 44 forks source link

Assigning database name through function/change node #121

Open abhilash-ingale opened 2 years ago

abhilash-ingale commented 2 years ago

Hi,

I am using the influxdb-out node in Node-Red and wanted to assign the database name through a function. For example -

msg.database = "mydatabase"

Is there any way to achieve this? I need to implement this functionality since I want to push data to multiple databases through a single node at different times.

Cheers, Abhilash

GwelforBodad commented 2 years ago

I'd like to second this suggestion. At the moment, I have to have a separate Influxdb Out node for each bucket whereas an optional msg.bucket would be helpful. In fact, being able to specify the Organisation with msg.organisation as an option would also add flexibility.

Oops, started at the top of issues and worked down. You've already got this in hand.

T3rm1 commented 1 year ago

Same for measurement. I subscribe to multiple MQTT topic and want to set the measurement of the influxdb node to the MQTT topic.

henjoe commented 10 months ago

Is this already implemented?

WoMec commented 8 months ago

+1 for this.

It would be great to have the ability to set 'organization' and 'bucket' in the 'msg'