grafana-util docs

grafana-util-resource-get.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-resource-get - Fetch one supported live Grafana resource by selector.

SYNOPSIS

grafana-util resource get [OPTIONS]

DESCRIPTION

Fetch one supported live Grafana resource by selector.

Use this when you need the live payload for one supported resource item and want a simpler generic query than building a full export or inspect workflow.

COMMON OPTIONS

positional SELECTOR
required <kind>/<identity> selector, for example dashboards/cpu-main or datasources/prom-main
--profile, --url, --token, --basic-user, --basic-password
live Grafana connection settings
--output-format
choose text, table, json, or yaml

EXAMPLES

Fetch one supported live Grafana resource by selector.

grafana-util resource get dashboards/cpu-main --url http://localhost:3000 --basic-user admin --basic-password admin

SEE ALSO

grafana-util(1)