Caution
Grafana Agent has reached End-of-Life (EOL) on November 1, 2025. Agent is no longer receiving vendor support and will no longer receive security or bug fixes. Current users of Agent Static mode, Agent Flow mode, and Agent Operator should proceed with migrating to Grafana Alloy. If you have already migrated to Alloy, no further action is required. Read more about why we recommend migrating to Grafana Alloy.
Run Grafana Agent Flow on Linux
Grafana Agent Flow is installed as a systemd service on Linux.
Start Grafana Agent Flow
To start Grafana Agent Flow, run the following command in a terminal window:
sudo systemctl start grafana-agent-flow(Optional) To verify that the service is running, run the following command in a terminal window:
sudo systemctl status grafana-agent-flowConfigure Grafana Agent Flow to start at boot
To automatically run Grafana Agent Flow when the system starts, run the following command in a terminal window:
sudo systemctl enable grafana-agent-flow.serviceRestart Grafana Agent Flow
To restart Grafana Agent Flow, run the following command in a terminal window:
sudo systemctl restart grafana-agent-flowStop Grafana Agent Flow
To stop Grafana Agent Flow, run the following command in a terminal window:
sudo systemctl stop grafana-agent-flowView Grafana Agent Flow logs on Linux
To view Grafana Agent Flow log files, run the following command in a terminal window:
sudo journalctl -u grafana-agent-flow


