Search code examples
azure-web-app-serviceappinsights

Suspicious Traffic Find IP on Azure Web App


I have noticed in my app insights log some suspicious traffic and I would like to block the IP. However, all I find is 0.0.0.0 for the IP on all requests. Is there a way to find in a log the exact IP to block future requests from the IP? I am using an Azure Web App with App Insights turned on for .Net Core application.


Solution

  • You can enabled Azure Monitor for AppServiceHTTPLogs and AppServiceIPSecAuditLogs. These logs should contain the source IP address.