Is there a way to write alle Data to a new Bucket with other measurement and Fields?


I need to rename some Fields and the measurement, and have installed latest Influxdb 2.6.1

Is there a way to write these Data into a new renamed Database with renamed Fields and measurement ?

How it works ?

Hello @Starfoxfs,
It depends on how much data you have.
If it’s not that much data, you might be able to:

Do you know approximately how many points you have?
You can also apply this logic to smaller time ranges (or smaller chunks of data).
You can also try to use the API or client library to query the data and write it to a CSV and then make the changes in the language of your choice and write the data back to a new bucket.

Hello Anaisdg,

thanks i try this :smiley: