Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/send-data/alloy/set-up/run/linux.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/send-data/alloy/set-up/run/linux/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Run Grafana Alloy on Linux
Alloy is installed as a systemd service on Linux.
Start Alloy
To start Alloy, run the following command in a terminal window:
sudo systemctl start alloyOptional: To verify that the service is running, run the following command in a terminal window:
sudo systemctl status alloyConfigure Alloy to start at boot
To automatically run Alloy when the system starts, run the following command in a terminal window:
sudo systemctl enable alloy.serviceRestart Alloy
To restart Alloy, run the following command in a terminal window:
sudo systemctl restart alloyStop Alloy
To stop Alloy, run the following command in a terminal window:
sudo systemctl stop alloyView Alloy logs
To view Alloy log files, run the following command in a terminal window:
sudo journalctl -u alloyNext steps
Was this page helpful?
Related resources from Grafana Labs


