Select bucket dynamically via parameter

I have several influxdb-out nodes and would like to combine them into one.
Is there a way to set or overwrite the bucketname to the influxdb-node via a parameter in the msg?
Something like this:
msg.bucket="bucket1"

With the measurement it works fine via msg.measurement or via msg.payload.
msg.payload = [{ [measurement]: parseFloat(value) }];

It seems not to be documented that one can do this. I suggest that you ask via an issue on the node's github page. Unfortunately it seems that there is not a great deal of activity on issues from the author so you may not get a reply. The alternative is to use the influxdb directly rather than via that node, which I believe is not difficult though I have not done it myself.

Ok, thanks for the info!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.