This page explains how to route device log data from AWS IoT Core to Axiom using AWS IoT and Lambda functions
DATASET_NAME
is the name of the Axiom dataset where you want to send data.AXIOM_DOMAIN
is the Axiom domain that your organization uses. For more information, see Regions.API_TOKEN
is the Axiom API token you have generated. For added security, store the API token in an environment variable.iot/topic
.
In Axiom, go to the Stream tab and select the dataset you specified in the Lambda function. You now see your logs from your IoT devices in Axiom.