I have a Azure Web Application in Azure. I have one endpoint :
https://dev-my-app.azurewebsites.net/test
I would like to see all http requests which were done for this endpoint. I have read that I can use Log Analitics Workspace (https://learn.microsoft.com/en-us/azure/azure-monitor/logs/log-analytics-workspace-overview) in order to achieve it.
I have configured a workspace. I have also created Diagnostic setting which sends “HTTP logs” to the workspace :
After I go to the “Logs” and try to run the query
// Client requests per hour
// Count of client requests hourly.
AGCAccessLogs
| summarize AggregatedValue = count() by bin(TimeGenerated, 1h), _ResourceId
| render timechart
I am getting a response:
‘summarize’ operator: Failed to resolve table or column expression named ‘AGCAccessLogs’
Request id: 1449b704-70bb-4d84-8c00-0d5b086fa637
It looks like AGCAccessLogs table does not exist in my log analitics worskpace.
What am I missing in order to make this query work? Is there other way to see the http traffic for my web app?
2