Heroku drains
InsightOps supports logging from Heroku.
basic
Create a log to send the Heroku logs to
- Log in to InsightOps and create a new log by clicking the "Add Data" button in the Data Collection page.
- Click the "Quick add" button.
- Name your log and select an existing Log set or create a new one
- Select Token TCP and click the "Create new log" button.
- Take note of the displayed token for later use.

basic
Configure Heroku Log drain
You can use the HTTPS drain option to have Heroku send the logs to InsightOps. You will need to provide the URL to configure Heroku.
- The endpoint will be
http://us.webhook.logs.insight.rapid7.com
orhttp://eu.webhook.logs.insight.rapid7.com
, depending on which region your InsightOps account is in. - Add the token to the URL:
https://<REGION>.webhook.logs.insight.rapid7.com/v1/drain/<LOG-TOKEN>
- Configure Heroku:
1heroku drains:add https://<REGION>.webhook.logs.insight.rapid7.com/v1/drain/<LOG_TOKEN> -a="APP_NAME"
For more detailed documentation, please refer to the Heroku documentation.
Did this page help you?