Better Stack Heroku logging

Start logging in 2 minutes

1. Install

Install the Heroku CLI.

2. Login

Log in to Heroku:

Run Heroku Login
heroku login

3. Setup

Set up Better Stack drain to Heroku:

Add Heroku drain
heroku drains:add \

4. Start logging ๐ŸŽ‰

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

Check out your metrics in the Heroku dashboard.

Heroku Runtime Metrics

Want to also take advantage of our Heroku Dashboards, but the metrics are not going through?

Enable the metrics by running heroku labs:enable log-runtime-metrics --app example-app in the Heroku CLI, followed up by heroku restart for the changes to take effect.

You can find more details here: Heroku Runtime Metrics.

Need help?

Please let us know at
We're happy to help! ๐Ÿ™

Additional resources

Interested in learning more about Better Stack Heroku add-on and best practices for logging in Heroku? Check out our Complete Guide to Logging in Heroku.