
Want config for a specific technology that works out of the box?
Check out Logs sources
in the left sidebar.
Install Vector on your server.
Configure your sources according to the Vector documentation.
Check out Logs sources
in the left sidebar.
Add Better Stack sink to your Vector config:
[sinks.better_stack]
type = "http"
method = "post"
inputs = [ "*" ]
uri = "https://in.logs.betterstack.com/"
encoding.codec = "json"
request.headers.Authorization = "$SOURCE_TOKEN"
Restart Vector to reload the configuration:
systemctl restart vector
You should see your logs in Better Stack -> Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏