Capture request headers from Azure Front Door.

Anonymous
2022-05-16T13:30:58.757+00:00

In Azure Front Door, Is there an option to capture/log the request headers from the transactions that are routed via Front Door.

We are trying to correlate the transactions between Front Door, Application Gateway and the backend APIM APIs. Looks like there is a way to capture the request headers via APIM but don't see similar functionality within App Gateway and Front Door.

What would be the recommend approach to achieve the correlation?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
850 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,213 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tchimwa Sougang 946 Reputation points Microsoft Employee
    2022-05-17T03:11:52.467+00:00

    Thank you @Anonymous for your question. Unfortunately, there is not mechanism that you can use to capture packets from the Front Door as of now. Like the Application Gateway, you're only able to capture packets from your backends. Since you currently have an AppGW behind your Front Door instead of your APIM, it will be difficult to capture all the headers added by the Front Door since the AppGW will kind of change some of those headers before they reach the APIM in the backend.
    Below you can see the headers added by the front door to every request just to have an idea:
    https://learn.microsoft.com/en-us/azure/frontdoor/front-door-http-headers-protocol#front-door-to-backend

    Also, the logs will not really help as the information provided by them is totally different from the headers added by the Front Door. Below is the information available in access logs:
    https://learn.microsoft.com/en-us/azure/frontdoor/standard-premium/how-to-logs#access-log

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.