Skip to main content

Documentation Index

Fetch the complete documentation index at: https://axiom.co/docs/llms.txt

Use this file to discover all available pages before exploring further.

Use Heroku Log Drains to send data from your Heroku apps and deployments to Axiom.
With Heroku Log Drains, you can only send data to the US East 1 (AWS) edge deployment. For more information, see Edge deployments.

Prerequisites

Setup

Configure Heroku Log Drains:
heroku drains:add "https://axiom:API_TOKEN@api.axiom.co/v1/datasets/DATASET_NAME/ingest" -a HEROKU_APPLICATION_NAME
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 HEROKU_APPLICATION_NAME with the name of the Heroku app.