Skip to content

InfluxDB

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