Menu

This is documentation for the next version of Alloy. For the latest stable release, go to the latest 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.