# CloudFront Functions Unified Logging

DevFeed: [CloudFront Functions Unified Logging](<https://devfeed.tech/articles/cloudfront-functions-unified-logging-49871.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/networking-and-content-delivery/cloudfront-functions-unified-logging/>)

Author: Joe Viggiano

Published: 2026-08-24T18:02:46Z

Content type: release

Language: en

Sources: [Networking & Content Delivery](<https://devfeed.tech/sources/networking-content-delivery.md>)

Topics: [function](<https://devfeed.tech/topics/function.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [log management](<https://devfeed.tech/topics/log-management.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [AWS CloudFormation](<https://devfeed.tech/topics/aws-cloudformation.md>)

Tags: [amazon-cloudwatch-logs](<https://devfeed.tech/tags/amazon-cloudwatch-logs.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [aws-cloudformation](<https://devfeed.tech/tags/aws-cloudformation.md>), [cdk](<https://devfeed.tech/tags/cdk.md>), [cloudfront](<https://devfeed.tech/tags/cloudfront.md>), [code](<https://devfeed.tech/tags/code.md>), [functions](<https://devfeed.tech/tags/functions.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [logging](<https://devfeed.tech/tags/logging.md>), [logs](<https://devfeed.tech/tags/logs.md>), [realtime](<https://devfeed.tech/tags/realtime.md>)

## AI overview

AWS introduces unified logging for CloudFront Functions, allowing custom data from viewer request and response functions to be written directly to CloudFront real-time and standard access logs. The post explains the new log fields, data limits, configuration options, and integration with CloudFormation and CDK.

## Source excerpt

CloudFront Functions (CF2) lets you run lightweight code inside Amazon CloudFront Points-of-Presences (POPs) to analyze and manipulate viewer requests and responses at scale. Until now, gaining visibility into the decisions your functions made such as the result of a token validation or logging a header returned from origin required collecting the header from CloudFront Realtime [...]