---
title: rpk generate grafana-dashboard
latest-redpanda-tag: v25.3.11
latest-console-tag: v3.14.0
latest-operator-version: v25.3.12
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "true"
page-is-past-eol: "false"
page-eol-date: November 19, 2026
latest-connect-version: 4.118.0
docname: rpk/rpk-generate/rpk-generate-grafana-dashboard
page-component-name: streaming
page-version: "25.3"
page-component-version: "25.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-generate/rpk-generate-grafana-dashboard.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/25.3/modules/reference/pages/rpk/rpk-generate/rpk-generate-grafana-dashboard.adoc
page-git-created-date: "2023-05-17"
page-git-modified-date: "2025-12-11"
page-generated-content: none
support-status: nearing end-of-life
---

# rpk generate grafana-dashboard

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

<!-- Source: https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-generate/rpk-generate-grafana-dashboard.md -->

Generate Grafana dashboards for Redpanda metrics.

Use this command to generate sample Grafana dashboards for Redpanda metrics. These dashboards can be imported into a Grafana or Grafana Cloud instance.

To select a specific dashboard, use the `--dashboard` flag followed by the dashboard name. For example, to generate the operations dashboard, run:

```bash
rpk generate grafana-dashboard --dashboard operations
```

The selected dashboard will be downloaded from Redpanda Data’s [observability GitHub repository](https://github.com/redpanda-data/observability).

> 📝 **NOTE**
>
> The legacy dashboard is still available as an option (`legacy`), but it isn’t downloaded from GitHub. Instead, the generated dashboard is based on which metrics endpoint is used (`--metrics-endpoint`).

## Available dashboards

You can select one of the following dashboard types:

| **Name** | **Description** |
| --- | --- |
| consumer-metrics | Monitoring of Java Kafka consumers, using the Prometheus JMX Exporter and the Kafka Sample Configuration. |
| consumer-offsets | Metrics and KPIs that provide details of topic consumers and how far they are lagging behind the end of the log. |
| operations (default) | Provides an overview of KPIs for a Redpanda cluster with health indicators. This is suitable for ops or SRE to monitor on a daily or continuous basis. |
| topic-metrics | Provides throughput, read/write rates, and on-disk sizes of each/all topics. |
| legacy | Generates dashboard based on selected metrics endpoint (--metrics-endpoint). Modify prometheus datasource and job-name with --datasource and --job-name flags. |

## Usage

```bash
rpk generate grafana-dashboard [flags]
```

## Flags

| **Value** | **Type** | **Description** |
| --- | --- | --- |
| `--dashboard` | string | The name of the dashboard you wish to download. Use --dashboard help for more info (default: `operations`). |
| `-h, --help` | - | Help for grafana-dashboard. |
| `--config` | string | Redpanda or `rpk` config file; default search paths are `/var/lib/redpanda/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`. |
| `-X, --config-opt` | stringArray | Override `rpk` configuration settings. See [`rpk -X`](https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-x-options/) or execute `rpk -X help` for inline detail or `rpk -X list` for terser detail. |
| `--profile` | string | Profile to use. See [`rpk profile`](https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-profile/rpk-profile/) for more details. |
| `-v, --verbose` | - | Enable verbose logging. |