grafana-util docs

dashboard clone-live

What this page covers

Clone one live dashboard into a local draft with optional overrides.

When to open this page

  • Use this when you want to start from an existing live dashboard but give the local draft a new title, UID, or folder target.

Who this page is for

Best for SREs, Grafana operators, and responders working with dashboard inventory, migration, inspection, or screenshots.

Purpose

Clone one live dashboard into a local draft with optional overrides.

When to use

Use this when you want to start from an existing live dashboard but give the local draft a new title, UID, or folder target.

Key flags

  • --source-uid: live Grafana dashboard UID to clone.
  • --output: write the cloned draft to this path.
  • --name: override the cloned dashboard title.
  • --uid: override the cloned dashboard UID.
  • --folder-uid: override the preserved Grafana folder UID.

Examples

# Purpose: Clone one live dashboard into a local draft with optional overrides.
grafana-util dashboard clone-live --url http://localhost:3000 --basic-user admin --basic-password admin --source-uid cpu-main --output ./cpu-main-clone.json
# Purpose: Clone one live dashboard into a local draft with optional overrides.
grafana-util dashboard clone-live --profile prod --source-uid cpu-main --name 'CPU Clone' --uid cpu-main-clone --folder-uid infra --output ./cpu-main-clone.json