Documentation navigation

Heroku Logplex Logdrain setup

Most of the Heroku-specific features on AppSignal require a Logplex Logdrain in order to function.

You only have to setup this logdrain once per application and it will provide data for all features such as errors, dashboards and host metrics.

Warning: This will send all of your app's logs to our endpoint, not just the metrics. Our endpoint only parses the Logplex errors, Postgres/Redis/Host metrics and ignores the rest of your logs.

heroku drains:add "<push_api_key>&name=<app_name>&environment=<app_environment>"

Make sure to replace the placeholders (<push_api_key>, <app_name> and <app_environment>) with your AppSignal organization's Push API key, your app's name and environment. Make sure your app's name and environment match exactly with your app's AppSignal configuration. These values are case sensitive.

You can find your Push API key, app name and environment on at "App settings > Push & Deploy".

Once the logdrain is setup, errors and dashboards should appear automatically. Additional setup is required for Host Metrics.

We'd like to set cookies, read why.