Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Documentationbreadcrumb arrow Grafana Alloybreadcrumb arrow Referencebreadcrumb arrow Command-line interface
Open source RSS

The Grafana Alloy command-line interface

The alloy binary exposes a command-line interface with subcommands to perform various operations.

The most common subcommand is run which accepts a configuration file and starts Alloy.

Available commands:

  • convert: Convert an Alloy configuration file.
  • fmt: Format an Alloy configuration file.
  • run: Start Alloy, given a configuration file.
  • tools: Read the WAL and provide statistical information.
  • completion: Generate shell completion for the alloy CLI.
  • help: Print help for supported commands.