MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.03k stars 21.05k forks source link

Azure App Service AppServiceHTTPLogs do not contain cookie information #122563

Open johnburgato opened 2 weeks ago

johnburgato commented 2 weeks ago

We have added a "diagnostic setting" to our App Service.

Instructions followed for sending diagnostics: https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs#send-logs-to-azure-monitor

This collects "HTTP logs".

I can query these through log analytics wit the AppServiceHTTPLogs table. All the information is present except the "Cookie" field. This field is very important, because otherwise there is no way to stitch sessions together.

The requests posess cookies, because we are also saving HTTP logs to Azure storage and the values are present there.

Find attached images of the "diagnostic settings" and the log analytics result with an empty cookie field.

App Svc diagnostic settings App svc log query result


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

PesalaPavan commented 2 weeks ago

@johnburgato It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

PesalaPavan commented 1 week ago

@johnburgato We are going to close this thread but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

johnburgato commented 1 week ago

Sorry, why is this being closed? The link to documentation is: https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs. I have raised another issue with logging at the same time (the link is even the same!).

Naveenommi-MSFT commented 1 week ago

@johnburgato Thanks for getting back. I've delegated this to content author @Justinha, who will review it and offer their insightful opinions.