Hi @Baliga, Ramprasad (Cognizant),
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand you want to know the which backend is serving the traffic.
To view this, you need to enable the diagnostic settings and allow the access log to be stored in the log analytics workspace.
Refer this link how to enable diagnostic settings in the application gateway:
Diagnostic logs - Azure Application Gateway | Microsoft Learn
see in log
In that log we can see the Backend serving the traffic.
If above is unclear and/or you are unsure about something add a comment below.
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.