Slide 9 of 10

Logs comparison summary

Collection method by cloud provider

CloudMethodBest for
AWSFirehoseMost CloudWatch logs (recommended, ~3x cheaper)
AWSLambda agentSpecific types: ALB, CloudFront, CloudTrail
AzureFunctionsEvent-driven from Event Hub
AzureAlloyEvent Hub with flexible processing
GCPAlloy + Pub/SubAll GCP logs

AWS recommendation by use case

ScenarioMethodWhy
High log volumes, cost-sensitiveFirehose~3x cheaper, better scalability
CloudWatch Logs, RDS, VPC FlowFirehoseNative integration, managed
ALB access logsLambda agentFirehose doesn’t support yet
CloudFront logsLambda agentFirehose doesn’t support yet
CloudTrail audit logsLambda agentFirehose doesn’t support yet

Script

Here’s a summary of your log collection options.

For AWS, Firehose is the recommended method for most CloudWatch logs. It’s about three times cheaper than Lambda and handles high volumes with better scalability. Use it for your application logs, RDS logs, and VPC Flow Logs.

Lambda handles specific log types that Firehose doesn’t support yet: ALB access logs, CloudFront logs, and CloudTrail audit logs.

For Azure, Functions with Event Hub work great for serverless shops. Alloy gives you more power if you need flexible processing from Event Hub.

For GCP, there’s really one path: Alloy subscribing to Pub/Sub. No serverless shortcut here.

And if you’re running multi-cloud, AWS plus Azure plus GCP, Alloy becomes incredibly valuable. One collector, one configuration language, consistent processing across all your clouds.