grafana-util-dashboard-patch-file.1
Browser-readable rendering of a generated roff manpage.
This page renders the generated roff manpage into readable HTML for browser use. For richer per-subcommand detail, prefer the command-reference pages.
NAME
grafana-util-dashboard-patch-file - Patch one local dashboard JSON file in place or write it to a new path.
SYNOPSIS
grafana-util dashboard patch-file [OPTIONS]
DESCRIPTION
Patch one local dashboard JSON file in place or write it to a new path.
Use this when you need to rewrite dashboard metadata locally before review or publish, without contacting Grafana.
COMMON OPTIONS
- --input
- dashboard JSON file to patch. Use - to read one wrapped or bare dashboard JSON document from standard input.
- --output
- write to a different path instead of overwriting the input. Required when --input - is used.
- --name
- replace the dashboard title.
- --uid
- replace the dashboard UID.
- --folder-uid
- set the preserved folder UID.
- --message
- store a note in the patched file metadata.
- --tag
- replace dashboard tags; repeat the flag for multiple tags.
EXAMPLES
Patch one local dashboard JSON file in place or write it to a new path.
grafana-util dashboard patch-file --input ./dashboards/raw/cpu-main.json --name 'CPU Overview' --folder-uid infra --tag prod --tag sreSEE ALSO
grafana-util(1), grafana-util-dashboard(1)