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

Delete measurement/Data points InfluxDB 2.0 [FEATURE REQUEST] #102

Closed yonglizhong closed 3 years ago

yonglizhong commented 3 years ago

Hi all,

was wondering if anyone has attempted to delete data/measurements via this node-red package. I have successfully executed it with Postman.

Is it possible with influxdb out node? Am asking because I had one for 1.8 version using influxdb-In node. Attempts have been futile so far. Not sure if it's absolutely impossible.

Or perhaps an alternative?

Thanks so much

yonglizhong commented 3 years ago

Hi all,

was wondering if anyone has attempted to delete data/measurements via this node-red package. I have successfully executed it with Postman.

Is it possible with influxdb out node? Am asking because I had one for 1.8 version using influxdb-In node. Attempts have been futile so far. Not sure if it's absolutely impossible.

Or perhaps an alternative?

Thanks so much

With 1.8, it was the cli API that worked for me. Unfortunately, it doesn't seem to be the case here with InfluxDB 2.0. Capture

mblackstock commented 3 years ago

I hadn't considered supporting delete. Currently you can only write or query data. Perhaps we need an 'API node', or a special mode of the output node to support this.

yonglizhong commented 3 years ago

Understood. I'll seek an alternative to execute such then. Shall I add this as a feature request?

mblackstock commented 3 years ago

Sure - this issue can serve as a feature request.