grafana-util-dashboard-raw-to-prompt.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-raw-to-prompt - Convert ordinary dashboard JSON or raw/ lane files into Grafana UI prompt JSON with __inputs.
SYNOPSIS
grafana-util dashboard raw to prompt [OPTIONS]
DESCRIPTION
Convert ordinary dashboard JSON or raw/ lane files into Grafana UI prompt JSON with __inputs.
Use this when someone gives you a normal Grafana dashboard export, legacy raw JSON, or a raw/ lane file and you need a prompt-safe file for the Grafana UI Upload JSON flow.
COMMON OPTIONS
- --input-file
- repeat this for one or more dashboard JSON files.
- --input-dir
- convert a directory tree. For raw/ or export roots, the default output is a sibling prompt/ lane.
- --output-file
- write one explicit output file. Only valid with one --input-file.
- --output-dir
- write converted files under one output tree.
- --overwrite
- replace existing prompt files.
- --datasource-map
- optional JSON or YAML map for repairing datasource references.
- --resolution
- choose infer-family, exact, or strict.
- --profile, --url, --token, --basic-user, --basic-password, --org-id
- optional live datasource lookup inputs used to augment datasource resolution.
- --dry-run
- show what would be converted without writing files.
- --progress, --verbose
- show progress lines or detailed per-file results.
- --output-format
- render the final summary as text, table, json, or yaml.
- --log-file, --log-format
- write per-item success/fail events to a text log or NDJSON log.
- --color
- colorize summary output with auto, always, or never.
EXAMPLES
Convert ordinary dashboard JSON or raw/ lane files into Grafana UI prompt JSON with __inputs.
grafana-util dashboard raw-to-prompt --input-file ./dashboards/raw/cpu-main.jsonSEE ALSO
grafana-util(1)