Better Stack Apache logging
Running Docker or Kubernetes?
The Better Stack collector discovers Apache automatically. Enable its status endpoint and its metrics arrive with a ready-made dashboard. This page sets up Vector for an Apache source.
Start logging in 2 minutes
Collect logs and metrics from your Apache webserver using Vector.
Select your platform:
Install and configure Vector on Ubuntu or Debian:
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.
You should see your logs in Better Stack → Live tail.
Check out your metrics in the Apache dashboard.
Collecting metrics
To collect metrics from your Apache web server you need to enable Apache mod_status module in your config:
Need help?
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
Additional information
Looking for manual instructions to set up Vector?
Find step-by-step instructions in our dedicated Vector guide.