Currently, Lambda logs can only be sent to Cloudwatch, but many companies prefer using centralized observability services. To overcome this limitation, AWS Cloudwatch provides Log Subscriptions Filters, which can send logs to Kinesis Data Stream, Lambda, or Kinesis Data Firehose. By using Firehose, you can easily configure and forward logs to major observability services like New Relic or Datadog. To automate this setup, you can use Terraform to create the necessary resources, such as the Firehose Delivery Stream and Cloudwatch Log Subscription Filters. This serverless solution allows you to consolidate your logs in one place, making it easier to manage and analyze them.









