Azure Application Gateway Session Monitoring

Eshaq Choudhury 5 Reputation points
2023-12-20T17:29:08.1733333+00:00

I have an azure application gateway with a backend of 5 servers. We use session affinity using the azure app gateway cookies. I am trying to determine what users are going to which servers at any given time. How can i see this?

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,114 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 26,956 Reputation points Microsoft Employee
    2023-12-21T06:14:01.97+00:00

    @Eshaq Choudhury

    Thank you for reaching out.

    I understand you wish to know the which users are directed to which backend server in your Application Gateway.

    I think you will be able to get this data via Azure Application Gateway Diagnostic logging via Access logs.

    clientIP : IP of the immediate client of Application Gateway. If another proxy fronts your application gateway, this displays the IP of that fronting proxy.

    serverRouted: The backend server that application gateway routes the request to.

    You can enable diagnostic logging by following the documentation here.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    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.