Atatus can automatically collect logs via Heroku Log Drains. Heroku provides 3 types of logs: App Logs: Logs generated by your application (e.g., errors, requests, and custom logs). System Logs: Logs generated by Heroku’s infrastructure (e.g., dyno actions, routing, add-ons). API Logs: Logs of administrative actions by you or other developers (e.g., scaling dynos, updating environment variables).

To send all these logs to Atatus:

Set up the HTTPS drain with the following command:
  • Replace ATATUS_API_KEY with your Atatus API Ingestion Key.
  • Replace SERVICE with your heroku application name.
  • Replace SOURCE with the desired source.
  • HOST_NAME is optional.
You can get the ATATUS_API_KEY from Settings -> Account Settings -> API Keys in Atatus dashboard.