influxd inspect delete-tsm

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

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


influxd inspect delete-tsm [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


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

Linux Package Signing Key Rotation

All signed InfluxData Linux packages have been resigned with an updated key. If using Linux, you may need to update your package configuration to continue to download and verify InfluxData software packages.

For more information, see the Linux Package Signing Key Rotation blog post.

State of the InfluxDB Cloud (IOx) documentation

The new documentation for InfluxDB Cloud backed by InfluxDB IOx 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.