influxd inspect dumpwal

The influxd inspect dumpwal command outputs data from Write Ahead Log (WAL) files. Given a list of file path globs (patterns that match .wal file paths), the command parses and prints out entries in each file.

Usage

  1. influxd inspect dumpwal [flags] <globbing-patterns>

Output details

The --find-duplicates flag determines the influxd inspect dumpwal output.

Without --find-duplicates, the command outputs the following for each file that matches the specified globbing patterns:

  • 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 that matches the specified globbing patterns:

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

Arguments

Globbing patterns

Globbing patterns provide partial paths used to match file paths and names.

Example globbing patterns
  1. # Match any file or folder starting with "foo"
  2. foo*
  3. # Match any file or folder starting with "foo" and ending with .txt
  4. foo*.txt
  5. # Match any file or folder ending with "foo"
  6. *foo
  7. # Match foo/bar/baz but not foo/bar/bin/baz
  8. foo/*/baz
  9. # Match foo/baz and foo/bar/baz and foo/bar/bin/baz
  10. foo/**/baz
  11. # Matches cat but not can or c/t
  12. /c?t

Flags

FlagDescription
—find-duplicatesIgnore dumping entries; only report keys in the WAL that are out of order.
-h—helpHelp for the dumpwal cinnabd.

wal inspect