Curious about what the script does?
- Installs Vector using official package.
- Configures Vector for your Better Stack source.
- Enables and restarts Vector.
The script will ask for confirmation before making any changes.
Better Stack HAProxy logging | Better Stack Documentation
Collect logs and metrics from your HAProxy using Vector.
Select your platform:
Install and configure Vector on Ubuntu or Debian:
Install and configure Vector on any Red Hat-based Linux:
Install and configure Vector on macOS:
Curious about what the script does?
The script will ask for confirmation before making any changes.
You should see your logs in Better Stack → Live tail.
Check out your metrics in the HAProxy dashboard.
To collect HAProxy metrics, enable the stats frontend by adding the following to /etc/haproxy/haproxy.cfg:
/etc/haproxy/haproxy.cfg
Copied!
Then restart HAProxy to apply the changes:
The stats frontend is bound to 127.0.0.1 so it is only accessible locally. Vector scrapes metrics from this endpoint automatically.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
Find step-by-step instructions in our dedicated Vector guide.