New App Service Integration with Azure Monitor (preview)
Share
Services
**Authors:** [Yutang Lin](mailto:Yutang.Lin@microsoft.com), [Jason Freeberg](mailto:Jason.Freeberg@microsoft.com)
We are happy to announce that App Service has new and improved integration with Azure Monitor. You can now send your logs from Windows or Linux App Service to Storage Accounts, Event Hubs or Log Analytics. This feature is now in public preview.
## Increased visibility into your web apps
Azure Monitor is the central observability service for collecting, analysing and acting on telemetry from your other Azure resources. You can use Azure Monitor to set up rule-based alerts, create dashboards, export to third-party services with Event Hubs, or archive logs and metrics for compliance needs.
App Service’s improved integration with Monitor enables new observability scenarios for development and operations teams. Developers can set up automatic emails with full stack traces when an exception is thrown. Operations teams can create dashboards to view the overall performance and stability of their applications. Compliance teams can monitor login attempts and file changes.
## Six brand-new log types
App Service now outputs the following log types into Azure Monitor.
* **AppServiceConsoleLogs**: Any logs or output written to the console (also known as standard output or standard error)
* **AppServiceHTTPLogs**: Access logs from the web server (IIS for Windows web apps, Nginx for Linux)
* **AppServiceEnvironmentPlatformLogs**: Logs for visibility into ASE operations such as scaling, configuration changes and status
* **AppServiceAuditLogs**: Logs for any user login via FTP or Kudu
* **AppServiceFileAuditLogs:** Logs for file changes (add, delete or update) via FTP or Kudu
* **AppServiceAppLogs**: Any logs or exceptions written to the stack’s logging utility. Supports multi-line logs and exceptions
The table below shows the current availability for the log categories.
| **Log Name** | **Windows** | **Linux** |
| --------------------------------- | ----------- | --------- |
| AppServiceConsoleLogs | TBA | ✔️ |
| AppServiceHTTPLogs | ✔️ | ✔️ |
| AppServiceEnvironmentPlatformLogs | ✔️ | ✔️ |
| AppServiceAuditLogs | ✔️ | ✔️ |
| AppServiceFileAuditLogs | TBA | TBA |
| AppServiceAppLogs | TBA | ✔️ \* |
\* Supported on Java SE and Tomcat
[Learn More](https://aka.ms/appservicemonitorintegrationdocs)
[App Service quickstart tutorial](https://docs.microsoft.com/en-us/Azure/app-service/app-service-web-get-started-java)
In case of any feedback, please inform us by creating an entry on the [developer forums](https://aka.ms/dev-forums).
* App Service
* Azure Monitor
* Features
* [ App Service](https://azure.microsoft.com/en-gb/products/app-service/)
* [ Azure Monitor](https://azure.microsoft.com/en-gb/services/monitor/)
What else is happening at Microsoft Azure?
Read update
Services
Share
Read update
Services
Share
We’re retiring Azure Time Series Insights on 7 July 2024 – transition to Azure Data Explorer
May 31st, 2024
Services
Share