docs-v2/content/influxdb/v2.2/reference/cli/influxd/inspect/dump-wal.md

1.4 KiB

title description influxdb/v2.2/tags menu weight
influxd inspect dump-wal The `influxd inspect dump-wal` command outputs data from WAL files for debugging purposes.
wal
inspect
influxdb_2_2_ref
parent
influxd inspect
301

The influxd inspect dump-wal command outputs data from Write Ahead Log (WAL) files for debugging purposes. Given at least one WAL file path as an argument, the tool parses and prints out the entries in each file.

Usage

influxd inspect dump-wal [flags]

Output details

The --find-duplicates flag determines the influxd inspect dump-wal output.

Without --find-duplicates, the command outputs the following for each file:

  • The file name
  • For each entry in a file: - The type of the entry ([write] or [delete-bucket-range]) - The formatted entry contents

With --find-duplicates, the command outputs the following for each file):

  • The file name
  • A list of keys with timestamps in the wrong order

Flags

Flag Description
--find-duplicates Ignore dumping entries; only report keys in the WAL that are out of order.
-h --help Help for the dump-wal command.