Skip to content
- ssh into the influxdb running host (performance-new at the time of writing this)
- run a naked
influxdb
command
- connect to influxdb
- switch to the database you want to wipe with
use database
(show databases
will tell you which DBs are available)
- wipe series with
drop series from /.*/
(possible dataloss, handle with care.
- wipe measurements with
drop measurements from /.*/
(possible dataloss, handle with care.
- connect to influxdb
- switch to the database you want to wipe with
use database
(show databases
will tell you which DBs are available)
- invoke
create retention policy "<policy_name>" on "<database_name>" duration <time literal, like: 1d> replication 1