Documentation

influxd inspect delete-tsm

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

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

Usage

influxd inspect delete-tsm [flags]

Flags

FlagDescriptionInput Type
-h--helpHelp for delete-tsm
--measurementName of the measurement to deletestring
--sanitizeRemove all keys with non-printable unicode characters
-v--verboseEnable 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

Was this page helpful?

Thank you for your feedback!


Set your InfluxDB URL

Introducing InfluxDB 3.0

The new core of InfluxDB built with Rust and Apache Arrow. Available today in InfluxDB Cloud Dedicated.

Learn more

State of the InfluxDB Cloud Serverless documentation

The new documentation for InfluxDB Cloud Serverless is a work in progress. We are adding new information and content almost daily. Thank you for your patience!

If there is specific information you’re looking for, please submit a documentation issue.