Make sure to replace <YOUR_LOGTAIL_SOURCE_TOKEN>
with your own source token from Logtail.com.
Explore documentation
Logging with Dokku and Logtail
- Enable Vector logs by running:
dokku logs:vector-start \
--vector-image timberio/vector:latest-debian
- Download Logtail configuration by running:
wget -O /var/lib/dokku/data/logs/vector.json \
https://logtail.com/vector-json/dokku/YOUR_LOGTAIL_SOURCE_TOKEN
- Run
dokku logs:vector-logs
to check that Vector started collecting logs without any problems. - That's all 🎉