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
回答済み 10ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ