influxdata / docs-v2

InfluxData Documentation that covers InfluxDB Cloud, InfluxDB OSS 2.x, InfluxDB OSS 1.x, InfluxDB Enterprise, Telegraf, Chronograf, Kapacitor, and Flux.
https://docs.influxdata.com
MIT License
69 stars 259 forks source link

New influx_inspect subcommands #4030

Open davidby-influx opened 2 years ago

davidby-influx commented 2 years ago

ETA: Enterprise 1.11 PR: https://github.com/influxdata/influxdb/pull/23351 See issue below for feature description and sampel output

Relevant URLs

InfluxDB 1.11 Enterprise 1.11

samhld commented 2 years ago

@davidby-influx thanks for this!

jstirnaman commented 2 months ago

Mentioned by @davidby-influx :

influx_inspect documentation is missing a few commands. I think they were documented at one time, but are no longer.

influx_inspect --help
Usage: influx_inspect [[command] [arguments]]

The commands are:

    check-schema         check for conflicts in the types between shards
    deletetsm            bulk measurement deletion of raw tsm file
    dumptsi              dumps low-level details about tsi1 files
    dumptsm              dumps low-level details about tsm1 files
    export               exports raw data from a shard to line protocol
    buildtsi             generates tsi1 indexes from tsm1 data
    help                 display this help message
    merge-schema         merge a set of schema files from the check-schema command
    report               displays a shard level cardinality report
    report-db            estimates cloud 2 cardinality for a database
    report-disk          displays a shard level disk usage report
    reporttsi            reports series cardinality in one or more TSI indexes.
    verify               verifies integrity of TSM files
    verify-seriesfile    verifies integrity of the Series file

"help" is the default command.

Use "influx_inspect [command] -help" for more information about a command.

What's the best way to help you get these documented?

These were documented for influxd inspect with OSS v2.6.0, but apparently didn't make it into docs for influx_inspect.

davidby-influx commented 2 months ago

Good find, @jstirnaman ! Less work for us all....