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 alloy


