Azure App Service: Where Are Requests Coming From?

Mike-E-angelo 591 Reputation points
2022-01-11T21:41:05.827+00:00

I have setup a Docker-based Azure service that hosts a Seq server for logging/diagnostics. I have setup all my applications, and wanted to see how the diagnostics server was doing.

Shockingly enough, I see that it is enduring what appears to be 100-250 requests a minute:

Naturally, I would like to determine the origin of all this unexpected chatter.

Ironically, Drill into Logs does exactly not that, which is exactly what I would like to do.

How do I find where those 100-250 requests per second are coming from?

Thank you for any assistance you can provide.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,970 questions
0 comments No comments
{count} votes

Accepted answer
  1. Manu Philip 20,206 Reputation points MVP Volunteer Moderator
    2022-01-12T06:18:45.553+00:00

    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:

    164136-image.png
    164137-image.png

    1. Go to Diagnostics settings under Monitoring section of App Services Blade to add diagnostics settings
      164166-image.png
    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
      164174-image.png
    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.

    164089-image.png

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

    ----------

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

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.