cloudfront access log to s3 | how to pass pass the user defined headers

0

Hi All,

I have set up a CloudFront access log to s3, but I am trying to log user-defined headers. is this possible to log the user-defined custom headers as a CloudFront access log into the s3?

for example, if I pass user-defined headers like transaction id and device id, then it be visible to the CloudFront enables s3 log file.

kindly suggest. As I tried hards. the below but no success

  1. allow the custom header from the behavior
  2. allow the other predefined headers just to see is these can be seen in s3 or not.
  3. and many more. but still no success.

kindly suggest will appreciate your cooperation

1 個回答
-1

Request Header is not stored in the CloudFront access logs as described here. I would recommend you to log your request header in your web server log if possible.

Raymond
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南