Skip to main content
Use Heroku Log Drains to send data from your Heroku apps and deployments to Axiom.

Prerequisites

Setup

Configure Heroku Log Drains:
Replace API_TOKEN with the Axiom API token you have generated. For added security, store the API token in an environment variable.Replace DATASET_NAME with the name of the Axiom dataset where you send your data.Replace AXIOM_DOMAIN with the base domain of your edge deployment. For more information, see Edge deployments.Replace HEROKU_APPLICATION_NAME with the name of the Heroku app.