rpk shadow status

Get the status of a Redpanda Shadow Link.

This command shows the current status of a Shadow Link, including the overall state, task statuses, and per-topic replication progress. Use this command to monitor replication health and track how closely shadow topics follow the source cluster.

By default, the command displays all status sections. Use the flags to display specific sections such as overview, task status, or topic status. When using this command with the --format json/yaml flag, we default to all sections.

During a whole-link failover, the overview section includes these rows:

Row Shows

STATE

The shadow link state: FAILING_OVER, FAILOVER_FAULTED, or FAILED_OVER.

FAILOVER PHASE

The phase the failover is working through, or stopped in: FINISH_TASKS (1/2) or FAIL_OVER_TOPICS (2/2). Not shown after the link reaches FAILED_OVER.

PHASE STARTED

When the current phase started, in RFC 3339 format.

FAULT REASON

What blocked the phase. Shown only in the FAILOVER_FAULTED state.

TOPICS

A summary of shadow topic states, for example 4 total, 2 ACTIVE, 2 FAILED_OVER.

With --format json, the same information is in overview.cutover.phase, overview.cutover.phase_started_at, and overview.status_reason. The cutover field is not present after the link reaches FAILED_OVER.

Example overview while a whole-link failover is in the FINISH_TASKS phase:

OVERVIEW
========
NAME            my-shadow-link
UID             <uid>
STATE           FAILING_OVER
FAILOVER PHASE  FINISH_TASKS (1/2)
PHASE STARTED   2026-11-10T08:14:04Z
TOPICS          4 total, 4 ACTIVE

For the states and phases, see Failover states.

Usage

rpk shadow status <link_name> [flags]

Examples

This section provides examples of how to use rpk shadow status.

Display the status of a shadow link.

rpk shadow status my-shadow-link

Display specific sections.

rpk shadow status my-shadow-link --print-overview --print-topic

Display the status as JSON, for example to keep a record for a post-mortem.

rpk shadow status my-shadow-link --format json

Flags

Value Type Description

--format

string

Output format (json,yaml,text,wide,help). Default: text.

-a, --print-all

bool

Print all sections.

-o, --print-overview

bool

Print the overview section.

-y, --print-registry

bool

Print the schema registry sync status section. (New in v26.2.1)

-k, --print-task

bool

Print the task status section.

-t, --print-topic

bool

Print the detailed topic status section.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.