AEM as Cloud service CDN logs - X-Forwarded-Host header | Community
Skip to main content
rampai
Community Advisor
Community Advisor
February 14, 2024
Investigating

AEM as Cloud service CDN logs - X-Forwarded-Host header

  • February 14, 2024
  • 2 replies
  • 966 views
Request for Feature Enhancement (RFE) Summary:

AEM as Cloud service CDN (BYOCDN) logs should also include X-Forwarded-Host header value. 

Use-case: AEM as Cloud service CDN (BYOCDN) logs should also include X-Forwarded-Host header value. This header is crucial in determining the request host in a multi-tenant environment.
Current/Experienced Behavior: AEM as Cloud service CDN (BYOCDN) logs do not include X-Forwarded-Host header value.
Improved/Expected Behavior: AEM as Cloud service CDN (BYOCDN) logs should include X-Forwarded-Host header value.
Environment Details (AEM version/service pack, any other specifics if applicable):

Sample logs (Current): 

{"timestamp":"<timestamp>","ttfb":85,"cli_ip":"<cli_ip>","cli_country":"<cli_country>","rid":"<rid>","req_ua":"<req_ua>","aem_program_id":"<programID>","aem_env_id":"<environmentID>","aem_tier":"<aem_tier>","aem_env_type":"<aem_env_type>","host":"publish-p<programID>-e<environmentID>.adobeaemcloud.com","url":"/","method":"GET","res_ctype":"text/html;charset=utf-8","cache":"MISS","res_age":"","status":200,"pop":"<pop>","rules":""}

 

Sample logs (Expected): 

{"timestamp":"<timestamp>","ttfb":85,"cli_ip":"<cli_ip>","cli_country":"<cli_country>","rid":"<rid>","req_ua":"<req_ua>","aem_program_id":"<programID>","aem_env_id":"<environmentID>","aem_tier":"<aem_tier>","aem_env_type":"<aem_env_type>","host":"publish-p<programID>-e<environmentID>.adobeaemcloud.com","url":"/","method":"GET","res_ctype":"text/html;charset=utf-8","cache":"MISS","res_age":"","status":200,"pop":"<pop>","rules":"","x-forwarded-host":"<x-forwarded-host>"}

Customer-name/Organization name: Abbott
Screenshot (if applicable):  
Code package (if applicable):  

2 replies

kautuk_sahni
Community Manager
Community Manager
March 13, 2024

@rampai 

Thanks for proposing this idea
This has been reported to the engineering under the internal reference SITES-20531. The product team will triage this request to verify feasibility based on the prioritization model. This post will be updated according to the Jira request status.
Kautuk Sahni
February 28, 2025

From VWFS we support this idea, we need this feature also urgently.