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 Risposta
-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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande