In Influxdb, How to delete all measurements?

rajagopalx picture rajagopalx · Jul 26, 2016 · Viewed 55.1k times · Source

I know DROP MEASUREMENT measurement_name used to drop single measurement. How to delete all measurements at once ?

Answer

Michael Desa picture Michael Desa · Jul 28, 2016

Theres no way to drop all of the measurements directly, but the query below will achieve the same result.

DROP SERIES FROM /.*/