# 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)

---
title: rpk generate grafana-dashboard
latest-redpanda-tag: v26.1.14
latest-console-tag: v3.10.0
latest-operator-version: v26.2.2
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "false"
page-eol-date: March 31, 2027
latest-connect-version: 4.105.0
docname: rpk/rpk-generate/rpk-generate-grafana-dashboard
page-component-name: streaming
page-version: "26.1"
page-component-version: "26.1"
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/26.1/modules/reference/pages/rpk/rpk-generate/rpk-generate-grafana-dashboard.adoc
description: Generate Grafana dashboards for Redpanda metrics. Use this command to generate sample Grafana dashboards that can be imported into a Grafana or Grafana Cloud instance.
page-git-created-date: "2023-05-17"
page-git-modified-date: "2026-07-17"
support-status: supported
---

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

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

## [](#available-dashboards)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 | 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. This is the default dashboard. |
| 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)Usage

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

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| --dashboard | string | The name of the dashboard to download. Use --dashboard=help to list available dashboards. |

## [](#global-flags)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. |

The selected dashboard is 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`).