Send logs to Better Stack using Vector

Start logging to Better Stack

1. Install

Install Vector on your server.

2. Set up sources

Configure your sources according to the Vector documentation.


Want config for a specific technology that works out of the box?

Check out Logs sources in the left sidebar.

3. Set up sink

Add Better Stack sink to your Vector config:

Better Stack sink
type = "http"
method = "post"
inputs = [ "*" ]
uri = ""
encoding.codec = "json"
request.headers.Authorization = "$SOURCE_TOKEN"

4. Restart

Restart Vector to reload the configuration:

Restart Vector
systemctl restart vector

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

Need help?

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