question

zbril-9271 avatar image
0 Votes"
zbril-9271 asked bharathn-msft commented

How to query for a particular session in log (analytics)

Hello,

How do I query for all requests made during a particular session? I want to get all ajax requests being made in the session. Also is there a way to verify all of the requests are going to the same web app instance?

To be clear I am hoping there is a way to do this with KQL in the log analytics of Application Insights.

azure-webappsazure-monitordotnet-aspnet-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YijingSun-MSFT avatar image
0 Votes"
YijingSun-MSFT answered bharathn-msft commented

Hi @zbril-9271 ,
The way you could includes SessionID with each requests.
Best regards,
Yijing Sun


If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @YijingSun-MSFT, I think I am missing most of your answer. I am wondering what KQL query I would need to run to get all the logged requests from a particular session.

https://docs.microsoft.com/en-us/azure/azure-monitor/logs/log-query-overview

0 Votes 0 ·

@zbril-9271 - My sincere apologies for delay in getting back to this thread. Checking in to see , if you were able to get the KQL query to handle session. One of the example is listed here , please review and let us know if you have any further queries. Thank you.


1 Vote 1 ·