1.9 KiB
1.9 KiB
title | description | v2.0/tags | menu | weight | ||||||
---|---|---|---|---|---|---|---|---|---|---|
influxd inspect dumpwal | The `influxd inspect dumpwal` command outputs data from WAL files. |
|
|
301 |
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
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
# Match any file or folder starting with "foo"
foo*
# Match any file or folder starting with "foo" and ending with .txt
foo*.txt
# Match any file or folder ending with "foo"
*foo
# Match foo/bar/baz but not foo/bar/bin/baz
foo/*/baz
# Match foo/baz and foo/bar/baz and foo/bar/bin/baz
foo/**/baz
# Matches cat but not can or c/t
/c?t
Flags
Flag | Description |
---|---|
--find-duplicates |
Ignore dumping entries; only report keys in the WAL that are out of order. |
-h , --help |
Help for dumpwal . |