Slide 9 of 10

Logs comparison summary

Collection method by cloud provider

CloudMethodLog types
AWSLambda agentS3-based: ALB, CloudFront, CloudTrail
AWSFirehoseCloudWatch-based: app logs, RDS, VPC Flow
AzureFunctionsEvent Hub logs
AzureAlloyBlob storage, Log Analytics
GCPAlloy + Pub/SubAll GCP logs

AWS recommendation by log type

Log typeMethod
ALB access logsLambda agent
CloudFront logsLambda agent
CloudTrail audit logsLambda agent
CloudWatch LogsFirehose
RDS instance logsFirehose
VPC Flow LogsFirehose

Script

Here’s a summary of your log collection options.

For AWS, you have two methods that cover different log types. The Lambda agent handles S3-based logs: ALB access logs, CloudFront logs, CloudTrail audit logs. Firehose handles CloudWatch-based logs: your application logs, RDS logs, VPC Flow Logs. The key is knowing where your logs live. S3-based logs use Lambda, CloudWatch-based logs use Firehose.

For Azure, Functions with Event Hub work great for serverless shops. Alloy gives you more power if you need Log Analytics queries or blob storage access.

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.