What is the best way to log custom HTTP headers like X-Foo: bar
received by CloudFront?
I haven't tried Real-time logs, but Standard access logs seem to log only the pre-defined set of fields/headers. My custom ones do not show up in there.
Currently I am thinking of leveraging CloudFront Functions for some custom logging. Is there any better (more easy/efficient) approach?