Azure App Service: Monitoring the http requests

With some additional settings and query, you can easily find the http traffic sources of your app services. Here is the method

  • Create a Log Analytics Workspace first:
164136-image.png
164137-image.png
  • Go to Diagnostics settings under Monitoring section of App Services Blade to add diagnostics settings
    164166-image.png
  • Add Diagnostic settings as follows. Here, you should select the Log Analytics Workspace created in previous step. App Service HTTP logs are selected under categories to capture the traffic we are interested
    164174-image.png
  • Now, we all set to track the traffic using suitable queries. Note that, the changes will take around 10-15 minutes to reflect and to be available for the query.
  • Go to Logs under Monitoring and select Incoming Requests as below. There you can select basic queries like Top 5 machines from where the requests are being originated towards the app services.
164089-image.png
  • You can run custom queries as well something like below. Filter the query to find suitable results so that you can get the required results only for easy analyzing.
    164214-image.png

Tags:

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Comments
Add External Contacts in Microsoft Teams