Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assigning database name through function/change node #121

Open
abhilash-ingale opened this issue May 11, 2022 · 6 comments
Open

Assigning database name through function/change node #121

abhilash-ingale opened this issue May 11, 2022 · 6 comments

Comments

@abhilash-ingale
Copy link

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
Copy link

GwelforBodad commented Jul 18, 2022

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
Copy link

T3rm1 commented Apr 9, 2023

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

@henjoe
Copy link

henjoe commented Oct 18, 2023

Is this already implemented?

@WoMec
Copy link

WoMec commented Jan 6, 2024

+1 for this.

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

@rcomanne
Copy link

Anyone know if this would even be possible with the current InfluxDB client implementation?
It's something that I pretty much need for a project

@rcomanne
Copy link

I've created a PR for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants