This page explains how to send Lambda function logs and platform events to Axiom.
AWS_REGION
with the AWS Region to send the request to. For example, us-west-1
.ARCH
with the system architecture type. For example, arm64
.VERSION
with the latest version number specified on the GitHub Releases page. For example, 11
.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 api.axiom.co
if your organization uses the US region, and with api.eu.axiom.co
if your organization uses the EU region. For more information, see Regions.Example with plain Terraform code
AWS_REGION
with the AWS Region to send the request to. For example, us-west-1
.
Replace ARCH
with the system architecture type. For example, arm64
.
Replace VERSION
with the latest version number specified on the GitHub Releases page. For example, 11
.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 api.axiom.co
if your organization uses the US region, and with api.eu.axiom.co
if your organization uses the EU region. For more information, see Regions.Example with AWS Lambda Terraform module
AWS_REGION
with the AWS Region to send the request to. For example, us-west-1
.
Replace ARCH
with the system architecture type. For example, arm64
.
Replace VERSION
with the latest version number specified on the GitHub Releases page. For example, 11
.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 api.axiom.co
if your organization uses the US region, and with api.eu.axiom.co
if your organization uses the EU region. For more information, see Regions.AWS_REGION
with the AWS Region to send the request to. For example, us-west-1
.
Replace ARCH
with the system architecture type. For example, arm64
.
Replace VERSION
with the latest version number specified on the GitHub Releases page. For example, 11
.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.record.error
record.level
record.severity
type
PANIC_ON_API_ERR
environment variable to true
. This means that the Axiom Lambda Extension crashes if it can’t connect to Axiom.