Send CloudWatch logs 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

Installation

Axiom CloudWatch integration is available and opensource on GitHub.

  1. 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 and Data Tags

CloudWatch overview

  • Click Next and create your Stack.

Configuration

  1. Create and Configure your CloudWatch LogGroup.
  • Enter your log group name
  • Set you Retention setting
  • Specify your key tags on your existing AWS Resources

CloudWatch overview

  • Click on Create
  1. Back in your Axiom Dataset you'll see your CloudWatch logs

CloudWatch overview


Subscribe to more LogGroups

  1. You can subscribe to more LogGroups by launching the Stack. This will spawn a one time lambda to create multiple subscription filters with the lambda ARN as destination.

CloudWatch overview

  • The template will be uploaded to S3.

  • Click Create.

  • With this you can send and get the logs from multiple CloudWatch log groups directly on Axiom.

  1. Back in the Axiom UI, you can see your logs directly from your Cloudwatch LogGroups.

CloudWatch overview

Was this page helpful?