grafana-util docs

grafana-util-alert-list-rules.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-alert-list-rules - List live Grafana alert rules.

SYNOPSIS

grafana-util alert list-rules [OPTIONS]

DESCRIPTION

List live Grafana alert rules.

  • Inspect alert rule inventory from one org or from all visible orgs.
  • Render the list in text, table, CSV, JSON, or YAML form.

BEFORE / AFTER

  • Before: inspect alert rules through the UI and manually cross-check which org they belong to.
  • After: collect one inventory output that is easier to compare, diff, or hand off to CI.

COMMON OPTIONS

  • --org-id lists rules from one Grafana org ID.
  • --all-orgs aggregates inventory across visible orgs.
  • --output-format controls the output format, including text, table, csv, json, and yaml.
  • --no-header omits the header row.

SUCCESS CRITERIA

  • The alert rules you expect appear in the requested output format.
  • The org or profile scope matches what you meant to inspect.
  • The output is easy to feed into a review or audit step if needed.

FAILURE CHECKS

  • If the list looks incomplete, verify token scope or switch to a broader profile.
  • If --all-orgs does not show everything you expect, use admin-backed credentials.
  • Check the org/profile context before assuming the inventory is empty.

EXAMPLES

List live Grafana alert rules.

grafana-util alert list-rules --profile prod --output-format table

SEE ALSO

grafana-util(1), grafana-util-alert(1)