Flux copy and rename measurement

Is there a way to change the measurement of a particular tag?

For example, I’ve got measurement “type-a” with tags abc,def,ghi. I would like to select all entries for def into measurement “type-b”

Thanks in advance

@t481, you can use Flux to output for writing selected data to a different place.
However, it will copy data. You have to delete data manually using the CLI client or write a custom app using a client library.
AFAIK, it is not possible to delete data in Flux.

1 Like

Hello @VlastaHajek,
Thanks for your answer
You can use the CLI to delete data:

Thanks @VlastaHajek but how do you change the measurement name itself?