This article demonstrates building an application log pipeline using CloudWatch Logs, Lambda, Data Firehose, AWS Glue, and Apache Iceberg materialized views, employing pre-computed aggregations to speed up queries on high-volume log data. The serverless architecture includes automatic error handling and CloudWatch monitoring, addressing slow query performance and difficulty running complex aggregations on streaming data.