Stream Logs from Heroku to SigNoz

If you are running your applications on Heroku, you can stream logs to SigNoz using httpsdrain.

Stream Heroku Logs to SigNoz Cloud

Add an HTTPS Drain

Use the Heroku CLI to add an HTTPS drain to your SigNoz cloud endpoint:

heroku drains:add https://<TENANT_NAME>:<SIGNOZ_INGESTION_KEY>@ingest.<REGION>.signoz.cloud:443/logs/heroku -a <YOUR_APP_NAME>
  • <TENANT_NAME>: The name of your SigNoz Cloud instance
    • Example: If the URL is https://cpvo-test.us.signoz.cloud, the TENANT_NAME is cpvo-test
  • <SIGNOZ_INGESTION_KEY>: Your SigNoz Cloud ingestion key
  • <REGION>: Your chosen region for SigNoz Cloud
  • <YOUR_APP_NAME>: The name of your Heroku application

Once the drain is added, verify the logs in SigNoz under the Logs tab.

Was this page helpful?