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.
Run Grafana Alloy on macOS
Alloy is installed as a launchd service on macOS.
Start Alloy
To start Alloy, run the following command in a terminal window:
brew services start grafana/grafana/alloy
Alloy automatically runs when the system starts.
Optional: To verify that the service is running, run the following command in a terminal window:
brew services info grafana/grafana/alloy
Restart Alloy
To restart Alloy, run the following command in a terminal window:
brew services restart grafana/grafana/alloy
Stop Alloy
To stop Alloy, run the following command in a terminal window:
brew services stop grafana/grafana/alloy
View Alloy logs
By default, logs are written to $(brew --prefix)/var/log/alloy.log
and $(brew --prefix)/var/log/alloy.err.log
.
If you followed Configure the Alloy service and changed the path where logs are written, refer to your current copy of the Alloy formula to locate your log files.