rpk cluster logdirs describe
Describe log directories on Redpanda brokers.
This command prints information about log directories on brokers, as well as the number of records in those log directories. The information is sorted first by topic, then by partition, and last by broker.
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 |
Aggregate results into the specified column starting from the partition column. Valid values: |
|
int32 |
If non-negative, the specific broker to describe. |
|
bool |
Print the logdirs size in a human-readable form. |
|
bool |
If true, sort by size. |
|
stringSlice |
Specific topics to describe. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |