Documentation

influxd inspect delete-tsm

This page documents an earlier version of InfluxDB. InfluxDB v2.3 is the latest stable version. View this page in the v2.3 documentation.

The influxd inspect delete-tsm command deletes a measurement from a raw TSM file.

Usage

influxd inspect delete-tsm [flags]

Flags

Flag Description Input Type
-h --help Help for delete-tsm
--measurement Name of the measurement to delete string
--sanitize Remove all keys with non-printable unicode characters
-v --verbose Enable verbose logging

Examples

Delete a measurement from a TSM file
influxd inspect delete-tsm \
  --measurement example-measurement
Remove non-printable unicode characters from all TSM files
influxd inspect delete-tsm --sanitize
tsm

Was this page helpful?

Thank you for your feedback!


Set your InfluxDB URL

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.