I have an apim instance configured to log to application insights.
I run the following kusto query to pull back useful info:
requests
| extend requestBody = customDimensions["Request-Body"]
| extend requestMethod = customDimensions["HTTP Method"]
| extend ApiName = customDimensions["API Name"]
| where ApiName == "client"
| project timestamp, ApiName, url, requestBody, requestMethod
| sort by timestamp desc
The "url" that this returns is the inbound url of the apim instance. Does anyone know how this can be updated to also pull back the back-end url that apim forwarded the request onto?