Migrate a measurement with changed field and tagnames

Is there a way to migrate or rename field-names and tagnames of a measurement , I am new to influx and need help.

I guess one can pull out all the data and load it back … but looking for a db-admin solution really if possible…

Any suggestions is appreciated.


A Continuous query like solution should work; e.g.

SELECT t AS tnew, r AS rnew INTO measurementb FROM measurementa

Won’t be possible for tags

1 Like


No update option available; you have to delete and add the data again into database.

1 Like