influxd inspect dump-wal
This page documents an earlier version of InfluxDB OSS. InfluxDB 3 Core is the latest stable version.
API token hashing is enabled by default in InfluxDB OSS 2.9.0
Stronger token security: tokens are stored as hashes on disk, so a copy of the database file doesn’t expose usable tokens. Existing tokens are hashed on first startup and the original strings can’t be recovered afterward — capture any plaintext tokens you still need before you upgrade.
For more information, see Token hashing.
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. |
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB OSS v2 and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.