How to delete columns of a series in InfluxDB

Darko P. picture Darko P. · Nov 5, 2014 · Viewed 8.6k times · Source

Is there any solution to remove a specific column of a series in InfluxDB?

Its seems that this feature is not implemented. But does anybody have found any kind of trick to do that?

Answer

Dan Dascalescu picture Dan Dascalescu · Sep 26, 2016

There is no way to delete a "column" (i.e. a field or a tag) from an Influx measurement. Here's the feature request for that.

You'll have to SELECT INTO a different measurement, excluding the columns you don't want:

SELECT useful_field, nice_tag INTO new_measurement FROM measurement