Star us on GitHub
Star
Menu

Heroku Log Drain

Learn how to setup Highlight log ingestion on Heroku as a log stream. As a prerequisite, we assume you already have an application deployed on Heroku.
1
Add a Syslog Log Drain to your heroku app.

See the Heroku Log Drain docs for more information.

heroku drains:add syslog+tls://syslog.highlight.io:34302 -a myapp
Copy
2
Retrieve the Heroku Log Drain Token.

Grab the token that heroku generated for your log drain.

heroku drains --json
Copy
3
Add the heroku token to highlight.

Visit the highlight Heroku integration page to set your log drain token for the project.

4
Verify your backend logs are being recorded.

Visit the highlight logs portal and check that backend logs are coming in.