Heroku Log Drains
With Heroku log drains you can forward logs from your apps, and deployments to Axiom by sending them via HTTPS.Prerequisites
Create and sign in to your Axiom Account.Installation
Sign up and login to your account on Heroku, and download the Heroku CLIConfiguration
Heroku log drains configuration consists of three main components- API_TOKEN: is used to send data to your dataset. API token can be generated from settings on Axiom dashboard.
- DATASET_NAME: name of your dataset. When logs are sent from your Heroku app it’s stored in a dataset on Axiom.
- HEROKU_APPLICATION_NAME: is the name of your app created on the Heroku dashboard or on the Heroku CLI.

Logging codes