Better Stack Dokku logging

Start logging in 2 minutes

1. Install

Enable Vector log collection:

Start Vector image
dokku logs:vector-start \
    --vector-image timberio/vector:latest-debian

2. Setup

Download Vector configuration for your source:

Download Vector config
curl -o /var/lib/dokku/data/logs/vector.json \
    https://logs.betterstack.com/vector-json/dokku/$SOURCE_TOKEN

3. Start logging ๐ŸŽ‰

Run dokku logs:vector-logs to check that Vector started collecting logs.

You should see your logs in Better Stack โ†’ Live tail .

Need help?

Please let us know at hello@betterstack.com.
We're happy to help! ๐Ÿ™