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 réponse
-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
répondu il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions

Contenus pertinents