Logging with Dokku and Logtail

  1. Enable Vector logs by running:
dokku logs:vector-start \
    --vector-image timberio/vector:latest-debian
Copied!
  1. Download Logtail configuration by running:
wget -O /var/lib/dokku/data/logs/vector.json \
    https://logtail.com/vector-json/dokku/YOUR_LOGTAIL_SOURCE_TOKEN
Copied!
  1. Run dokku logs:vector-logs to check that Vector started collecting logs without any problems.
  2. That's all 🎉

Make sure to replace <YOUR_LOGTAIL_SOURCE_TOKEN> with your own source token from Logtail.com.