Azure App Service monitoring data reference
This article contains all the monitoring reference information for this service.
See Monitor Azure App Service for details on the data you can collect for Azure App Service and how to use it.
Metrics
This section lists all the automatically collected platform metrics for this service. These metrics are also part of the global list of all platform metrics supported in Azure Monitor.
For information on metric retention, see Azure Monitor Metrics overview.
Supported metrics for Microsoft.Web
The following tables list the automatically collected platform metrics for App Service.
Metric Type | Resource Provider / Type Namespace and link to individual metrics |
---|---|
App Service Plans | Microsoft.Web/serverfarms |
Web apps | Microsoft.Web/sites |
Staging slots | Microsoft.Web/sites/slots |
App Service Environment | Microsoft.Web/hostingEnvironments |
App Service Environment Front-end | Microsoft.Web/hostingEnvironments/multiRolePools |
For more information, see a list of all platform metrics supported in Azure Monitor.
Note
App Service Plan metrics are available only for plans in Basic, Standard, and Premium tiers.
Metric dimensions
For information about what metric dimensions are, see Multi-dimensional metrics. This service has the following dimensions associated with its metrics.
Some metrics in the following namespaces have the listed dimensions:
Microsoft.Web/sites
- Instance
- workflowName
- status
- accountName
Microsoft.Web/serverFarms,
Microsoft.Web/sites/slots,
Microsoft.Web/hostingEnvironments,
Microsoft.Web/hostingenvironments/multirolepools,
Microsoft.Web/hostingenvironments/workerpools
- Instance
Resource logs
This section lists the types of resource logs you can collect for this service. The section pulls from the list of all resource logs category types supported in Azure Monitor.
The following table lists more information about resource logs you can collect for App Service.
Log type | Windows | Windows Container | Linux | Linux Container | Description |
---|---|---|---|---|---|
AppServiceConsoleLogs | Java SE & Tomcat | Yes | Yes | Yes | Standard output and standard error |
AppServiceHTTPLogs | Yes | Yes | Yes | Yes | Web server logs |
AppServiceEnvironmentPlatformLogs | Yes | N/A | Yes | Yes | App Service Environment: scaling, configuration changes, and status logs |
AppServiceAuditLogs | Yes | Yes | Yes | Yes | Login activity via FTP and Kudu |
AppServiceFileAuditLogs | Yes | Yes | TBA | TBA | File changes made to the site content; only available for Premium tier and above |
AppServiceAppLogs | ASP.NET | ASP.NET | Java SE & Tomcat Images 1 | Java SE & Tomcat Blessed Images 1 | Application logs |
AppServiceIPSecAuditLogs | Yes | Yes | Yes | Yes | Requests from IP Rules |
AppServicePlatformLogs | TBA | Yes | Yes | Yes | Container operation logs |
AppServiceAntivirusScanAuditLogs | Yes | Yes | Yes | Yes | Anti-virus scan logs using Azure Defender; only available for Premium tier |
1 For Java SE apps, add "$WEBSITE_AZMON_PREVIEW_ENABLED" to the app settings and set it to 1 or to true.
For reference, see a list of all resource logs category types supported in Azure Monitor.
App Services
The following table lists common activity log operations related to App Service. This list isn't exhaustive. For all Microsoft.Web resource provider operations, see Microsoft.Web resource provider operations.
Operation | Description |
---|---|
Create or Update Web App | App was created or updated |
Delete Web App | App was deleted |
Create Web App Backup | Backup of app |
Get Web App Publishing Profile | Download of publishing profile |
Publish Web App | App deployed |
Restart Web App | App restarted |
Start Web App | App started |
Stop Web App | App stopped |
Swap Web App Slots | Slots were swapped |
Get Web App Slots Differences | Slot differences |
Apply Web App Configuration | Applied configuration changes |
Reset Web App Configuration | Configuration changes reset |
Approve Private Endpoint Connections | Approved private endpoint connections |
Network Trace Web Apps | Started network trace |
Newpassword Web Apps | New password created |
Get Zipped Container Logs for Web App | Get container logs |
Restore Web App From Backup Blob | App restored from backup |
Related content
- See Monitor App Service for a description of monitoring App Service.
- See Monitor Azure resources with Azure Monitor for details on monitoring Azure resources.