Technologies
Send data from CloudWatch to Axiom
Axiom provides a unique way of ingesting CloudWatch logs into Axiom. The Axiom CloudWatch integration is subscribed to one or more of your CloudWatch Log Groups and runs as a Lambda function.
Prerequisites
- Create an account on AWS Cloud
- Sign up or log in to your account on Axiom
- On Axiom UI, create a dataset and API token with ingest permissions for that dataset
Installation
Axiom CloudWatch integration is available and opensource on GitHub.
- Launch the Stack and enter your stack details:
- Name of your Axiom dataset
- Enter the value of your Axiom API token
- Value of your
CloudWatchLogGroupName
andData Tags
![](https://mintlify.s3-us-west-1.amazonaws.com/axiom/doc-assets/shots/cloudwatch1.png)
- Click Next and create your stack.
Configuration
- Create and configure your CloudWatch LogGroup.
- Enter your log group name
- Set your retention setting
- Specify your key tags on your existing AWS resources
![](https://mintlify.s3-us-west-1.amazonaws.com/axiom/doc-assets/shots/cloudwatch2.png)
- Click Create.
- Back in your Axiom dataset, you’ll see your CloudWatch logs.
![](https://mintlify.s3-us-west-1.amazonaws.com/axiom/doc-assets/shots/cloudwatch-1.png)
Subscribe to more LogGroups
- You can subscribe to more LogGroups by launching the Stack. This spawns a one-time lambda to create multiple subscription filters with the
lambda ARN
as destination.
![](https://mintlify.s3-us-west-1.amazonaws.com/axiom/doc-assets/shots/cloudwatch4.png)
-
The template is uploaded to S3.
-
Click Create.
-
With this you can send and get the logs from multiple CloudWatch log groups directly to Axiom.
- Back in the Axiom UI, you can see your logs directly from your CloudWatch LogGroups.
![](https://mintlify.s3-us-west-1.amazonaws.com/axiom/doc-assets/shots/cloudwatch-1.png)
Was this page helpful?