Integration
Heroku
App, router and platform logs: status, response time and H, R and L error codes.
- Category: Cloud
- How data is sent: The service sends its logs (HTTPS, nothing to install)
- Status: Beta
How it works#
- Answer a few questions. They only fill in the setup steps. Logthread never signs in to your Heroku account.
- Run one Heroku CLI command. The next page shows the endpoint with this connector's ingest key filled in. There is nothing to install.
- Data arrives. Heroku sends the logs over HTTPS to ingest.logthread.com with this connector's key. The connection page shows what has arrived and turns Active with the first record.
What you answer#
| Question | Answer | Notes |
|---|---|---|
| Heroku app | Text | The app name, as in heroku apps. |
Setup#
These are the steps for the default answers. In the app, they follow your answers, and the connector's ingest key replaces YOUR_INGEST_KEY.
Step 1. Add the drain to the app. With the Heroku CLI signed in. The key is the password in the drain URL; the app name becomes the service. Router lines (status, response time, H codes) are parsed into fields.
heroku drains:add 'https://logthread:YOUR_INGEST_KEY@ingest.logthread.com/v1/integrations/heroku?app=your-app' -a your-appStep 2. Wait for data. Logs arrive within seconds of the next request or log line. heroku drains -a your-app lists the drain.
Check that it works#
The connection page under Integrations counts the records sent with the connector's key and turns Active with the first one.
Then add#
Each is one click on the connection page and opens with your data, so you can check it before saving.
- Dashboard: Heroku: Router requests by status, response time, platform errors (H, R and L codes), slowest paths and app log levels from Heroku log drains.
- Alert: Heroku router errors:
logthread.source:heroku_drain heroku.at:error, at least 10 in 10 minutes - Alert: Heroku memory quota exceeded:
logthread.source:heroku_drain "Error R14", at least 1 in 10 minutes
Set it up under Integrations in the app, or from an AI agent with MCP (add_integration). All integrations: Integrations guide. Next: find what it sends in Explore and live tail.