Make sure to replace <YOUR_LOGTAIL_SOURCE_TOKEN>
with your own source token from Logtail.com.
Explore documentation
Logging with Heroku and Logtail
Collect log from your Heroku apps. Configure everything in 2 minutes or less.
- Install the Heroku CLI .
- Login to Heroku using the CLI:
shell heroku login
- Add the Logtail drain:
shell heroku drains:add \ "https://in.logtail.com:6515/events?source_token=YOUR_LOGTAIL_SOURCE_TOKEN" \ -a YOUR_HEROKU_APP_SLUG
- That's all 🎉