---
title: influxd inspect dump-wal
description: The influxd inspect dump-wal command outputs data from WAL files for debugging purposes.
url: https://docs.influxdata.com/influxdb/v2/reference/cli/influxd/inspect/dump-wal/
estimated_tokens: 675
product: InfluxDB OSS v2
version: v2
---

# influxd inspect dump-wal

This page documents an earlier version of InfluxDB OSS. [InfluxDB 3 Core](/influxdb3/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](/influxdb/v2/admin/tokens/#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

```sh
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. |

[wal](/influxdb/v2/tags/wal/) [inspect](/influxdb/v2/tags/inspect/)
