Have you sometimes looking for finding more details of the graph of ‘Requests’ you saw in Azure Metrix? You might be interested to see the IP address of the requests came from !

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

  1. Create a Log Analytics Workspace first:
  1. Go to Diagnostics settings under Monitoring section of App Services Blade to add diagnostics settings

  2. 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
  3. 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.
  4. 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.

7. 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.

    Tags:

    No responses yet

    Leave a Reply

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

    Recent Comments