AWS CloudWatch Logs via Firehose
AWS CloudWatch Logs is a service that allows you to monitor, store, and access log files from your AWS resources and applications. It can collect logs from various AWS services such as EC2, Lambda, API Gateway, and more. For better usability and control, you can send these logs to Dash0 via Firehose stream.
CloudWatch Logs events can be sent to Firehose using CloudWatch subscription filters. Firehose can then deliver the log events to Dash0 through an HTTP endpoint. This guide will teach you how.
Follow AWS documentation to create a Firehose delivery stream from AWS console:
1. Choose source and destination
Choose "Direct PUT" as the source and "HTTP Endpoint" as the destination of your Firehose stream.
2. Firehose stream name
Give your Firehose stream a name.
3. Destination settings
In HTTP Endpoint URL, enter Dash0 AWS CloudWatch Logs via Firehose HTTP endpoint:
In the authentication section, choose "Use access key" option and enter Dash0 authentication token as the Access Key:
You can keep the rest of the settings as default.
4. Backup settings
Create or choose an existing S3 bucket to store logs in case of delivery failures.
Follow AWS documentation to create a CloudWatch subscription filter that sends any incoming log events that match your defined filters to your Firehose delivery stream previously created.