rpk cluster logdirs describe
Describe log directories on Redpanda brokers.
This command prints information about log directories on brokers, particularly, the base directory that topics and partitions are located in, and the size of data that has been written to the partitions. The size you see may not exactly match the size on disk as reported by du: Redpanda allocates files in chunks. The chunks will show up in du, while the actual bytes so far written to the file will show up in this command.
The directory returned is the root directory for partitions. Within Redpanda,
the partition data lives underneath the returned root directory in kafka/{topic}/{partition}_{revision}/
, where revision
is a Redpanda internal concept.
Flags
Value | Type | Description |
---|---|---|
|
string |
If non-empty, what column to aggregate into starting from the partition column (broker, dir, topic). |
|
int32 |
If non-negative, the specific broker to describe (default -1). |
|
- |
Help for describe. |
|
- |
Print the logdirs size in a human-readable form. |
|
- |
If true, sort by size. |
|
strings |
Specific topics to describe. |
|
string |
Redpanda or |
|
stringArray |
Override |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |