I want to view a log of the Ip Traffic of App Service

Brian Abdo 6 Reputation points
2020-09-23T20:14:06.993+00:00

Here is the context. I have an App Service I've created with a few IP Addresses Whitelisted. I want to see a log of all the ip addresses that attempted to access the site but failed. My understanding is that I could use Diagnostic Settings and the collection to use 'AppServiceIPSecAuditLogs'. However, no logs appear!

I am sure that the whitelisting has worked as I received a generic 403 response page when I attempt to access the site from a ip that has not been listed.

Further, logging has been confirmed as other data areas like 'AppServiceHTTPLogs' work as intended.

My overall goal is to just be able to see a log of the ip address that failed accessing the site. How would I do this?

If there are other products that are required, please let me know those as well.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,181 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,632 questions
{count} vote

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,661 Reputation points
    2020-10-14T10:02:11.15+00:00

    @Brian Abdo The functionality to collect the data in "AppServiceIPSecAuditLogs" is available. You should be able to view logs of the Ip Traffic of App Service in the selected destination of logs.

    Kindly revert if you are still facing any issues.

    0 comments No comments

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.