Skip to content

Commit 84fa6bd

Browse files
authored
Merge pull request #95451 from msangapu-msft/msangapu
App Service + Azure Monitor
2 parents a25a257 + c50e463 commit 84fa6bd

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed
204 KB
Loading

articles/app-service/troubleshoot-diagnostic-logs.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Azure provides built-in diagnostics to assist with debugging an [App Service app
2222
This article uses the [Azure portal](https://portal.azure.com) and Azure CLI to work with diagnostic logs. For information on working with diagnostic logs using Visual Studio, see [Troubleshooting Azure in Visual Studio](troubleshoot-dotnet-visual-studio.md).
2323

2424
> [!NOTE]
25-
> In addition to the logging instructions in this article, there's new, integrated logging capability with Azure Monitoring. You'll find this capability in [the Logs page and Diagnostic Settings (Preview) page](https://aka.ms/appsvcblog-azmon).
25+
> In addition to the logging instructions in this article, there's new, integrated logging capability with Azure Monitoring. You'll find more on this capability in the [Send logs to Azure Monitor (preview)](#send-logs-to-azure-monitor-preview) section.
2626
>
2727
>
2828
@@ -174,7 +174,28 @@ For Windows apps, the ZIP file contains the contents of the *D:\Home\LogFiles* d
174174
| **Web Server Logs** | */LogFiles/http/RawLogs/* | Contains text files formatted using the [W3C extended log file format](/windows/desktop/Http/w3c-logging). This information can be read using a text editor or a utility like [Log Parser](https://go.microsoft.com/fwlink/?LinkId=246619).<br/>App Service doesn't support the `s-computername`, `s-ip`, or `cs-version` fields. |
175175
| **Deployment logs** | */LogFiles/Git/* and */deployments/* | Contain logs generated by the internal deployment processes, as well as logs for Git deployments. |
176176
177+
## Send logs to Azure Monitor (preview)
178+
179+
With the new [Azure Monitor integration](https://aka.ms/appsvcblog-azmon), you can [create Diagnostic Settings (preview)](https://azure.github.io/AppService/2019/11/01/App-Service-Integration-with-Azure-Monitor.html#create-a-diagnostic-setting) to send logs to Storage Accounts, Event Hubs and Log Analytics.
180+
181+
> [!div class="mx-imgBorder"]
182+
> ![Diagnostic Settings (preview)](media/troubleshoot-diagnostic-logs/diagnostic-settings-page.png)
183+
184+
### Supported log types
185+
186+
The following table shows the supported log types and descriptions:
187+
188+
| Log type | Windows support | Linux support | Description |
189+
|-|-|-|
190+
| AppServiceConsoleLogs | TBA | Yes | Standard output and standard error |
191+
| AppServiceHTTPLogs | Yes | Yes | Web server logs |
192+
| AppServiceEnvironmentPlatformLogs | Yes | Yes | App Service Environment: scaling, configuration changes, and status logs|
193+
| AppServiceAuditLogs | Yes | Yes | Login activity via FTP and Kudu |
194+
| AppServiceFileAuditLogs | TBA | TBA | File changes via FTP and Kudu |
195+
| AppServiceAppLogs | TBA | Java SE & Tomcat | Application logs |
196+
177197
## <a name="nextsteps"></a> Next steps
198+
* [Query logs with Azure Monitor](../azure-monitor/log-query/log-query-overview.md)
178199
* [How to Monitor Azure App Service](web-sites-monitor.md)
179200
* [Troubleshooting Azure App Service in Visual Studio](troubleshoot-dotnet-visual-studio.md)
180201
* [Analyze app Logs in HDInsight](https://gallery.technet.microsoft.com/scriptcenter/Analyses-Windows-Azure-web-0b27d413)

0 commit comments

Comments
 (0)