Better Stack Docker logging

Start logging in 2 minutes

Collect logs from your Docker containers using Vector.

1. Install

Install Vector.

2. Setup

Download Vector configuration for your source:

Download Vector config
wget -O ->> /etc/vector/vector.toml \$SOURCE_TOKEN

3. Grant permissions

Allow Vector to access Docker logs:

Grant Vector permissions
usermod -a -G docker vector

4. Restart

Restart Vector to reload the configuration:

Restart Vector
systemctl restart vector

You should see your logs in Better Stack -> Live tail.


Don't see any logs?

Check status of Vector service: systemctl status vector

Need help?

Please let us know at
We're happy to help! 🙏