Skip to content

Commit b48f1f8

Browse files
authored
Merge pull request #45716 from bwren/solution-web-apps
Web App Analytisc solution deprecation
2 parents a655de8 + fcfb209 commit b48f1f8

File tree

1 file changed

+5
-116
lines changed

1 file changed

+5
-116
lines changed

articles/log-analytics/log-analytics-azure-web-apps-analytics.md

Lines changed: 5 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.workload: na
1212
ms.tgt_pltfrm: na
1313
ms.devlang: na
1414
ms.topic: conceptual
15-
ms.date: 06/26/2018
15+
ms.date: 07/02/2018
1616
ms.author: magoedte
1717
ms.component: na
1818
---
@@ -22,118 +22,7 @@ ms.component: na
2222
![Web Apps symbol](./media/log-analytics-azure-web-apps-analytics/azure-web-apps-analytics-symbol.png)
2323

2424
> [!NOTE]
25-
> The Azure Web Apps Analytics solution has been deprecated. Customers who have already installed the solution can continue to use it, but Azure Web Apps Analytics can not be added to any new workspaces. To monitor your web application, we recommend you use [Application Insights](../application-insights/app-insights-overview.md).
26-
27-
The Azure Web Apps Analytics (Preview) solution provides insights into your [Azure Web Apps](../app-service/app-service-web-overview.md) by collecting different metrics across all your Azure Web App resources. With the solution, you can analyze and search for web app resource metric data.
28-
29-
Using the solution, you can view the:
30-
31-
- Top Web Apps with the highest response time
32-
- Number of requests across your Web Apps, including successful and failed requests
33-
- Top Web Apps with highest incoming and outgoing traffic
34-
- Top service plans with high CPU and memory utilization
35-
- Azure Web Apps activity log operations
36-
37-
## Connected sources
38-
39-
Unlike most other Log Analytics solutions, data isn't collected for Azure Web Apps by agents. All data used by the solution comes directly from Azure.
40-
41-
| Connected Source | Supported | Description |
42-
| --- | --- | --- |
43-
| [Windows agents](log-analytics-windows-agent.md) | No | The solution does not collect information from Windows agents. |
44-
| [Linux agents](log-analytics-linux-agents.md) | No | The solution does not collect information from Linux agents. |
45-
| [SCOM management group](log-analytics-om-agents.md) | No | The solution does not collect information from agents in a connected SCOM management group. |
46-
| [Azure storage account](log-analytics-azure-storage.md) | No | The solution does not collection information from Azure storage. |
47-
48-
## Prerequisites
49-
50-
- To access Azure Web App resource metric information, you must have an Azure subscription.
51-
52-
## Configuration
53-
54-
Perform the following steps to configure the Azure Web Apps Analytics solution for your workspaces.
55-
56-
1. [Enable Azure resource metrics logging to Log Analytics using PowerShell](https://blogs.technet.microsoft.com/msoms/2017/01/17/enable-azure-resource-metrics-logging-using-powershell).
57-
58-
The Azure Web Apps Analytics solution collects two set of metrics from Azure:
59-
60-
- Azure Web Apps metrics
61-
- Average Memory Working Set
62-
- Average Response Time
63-
- Bytes Received/Sent
64-
- CPU Time
65-
- Requests
66-
- Memory Working Set
67-
- Httpxxx
68-
- App Service Plan metrics
69-
- Bytes Received/Sent
70-
- CPU Percentage
71-
- Disk Queue Length
72-
- Http Queue Length
73-
- Memory Percentage
74-
75-
App Service Plan metrics are only collected if you are using a dedicated service plan. This doesn't apply to free or shared App Service plans.
76-
77-
After you configure the solution, data should start flowing to your workspace within 15 minutes.
78-
79-
## Using the solution
80-
81-
When you add the Azure Web Apps Analytics solution to your workspace, the **Azure Web Apps Analytics** tile is added to your Overview dashboard. This tile displays a count of the number of Azure Web Apps that the solution has access to in your Azure subscription.
82-
83-
![Azure Web Apps Analytics tile](./media/log-analytics-azure-web-apps-analytics/azure-web-apps-analytics-tile.png)
84-
85-
### View Azure Web Apps Analytics information
86-
87-
Click the **Azure Web Apps Analytics** tile to open the **Azure Web Apps Analytics** dashboard. The dashboard includes the blades in the following table. Each blade lists up to ten items matching that blade's criteria for the specified scope and time range. You can run a log search that returns all records by clicking **See all** at the bottom of the blade or by clicking the blade header.
88-
89-
90-
| Column | Description |
91-
| --- | --- |
92-
| Azure Webapps | |
93-
| Web Apps Request Trends | Shows a line chart of the Web Apps request trend for the date range that you have selected and shows a list of the top ten web requests. Click the line chart to run a log search for <code>AzureMetrics &#124; where ResourceId == "/MICROSOFT.WEB/SITES/" and (MetricName == "Requests" or MetricName startswith_cs "Http") &#124; summarize AggregatedValue = avg(Average) by MetricName, bin(TimeGenerated, 1h)</code> <br>Click a web request item to run a log search for the web request metric trend that request. |
94-
| Web Apps Response Time | Shows a line chart of the Web Apps response time for the date range that you have selected. Also shows a list a list of the top ten Web Apps response times. Click the chart to run a log search for <code>AzureMetrics &#124; where ResourceId == "/MICROSOFT.WEB/SITES/" and MetricName == "AverageResponseTime" &#124; summarize AggregatedValue = avg(Average) by Resource, bin(TimeGenerated, 1h)</code><br> Click on a Web App to run a log search returning response times for the Web App. |
95-
| Web Apps Traffic | Shows a line chart for Web Apps traffic, in MB and lists the top Web Apps traffic. Click the chart to run a log search for <code>AzureMetrics &#124; where ResourceId == "/MICROSOFT.WEB/SITES/" and (MetricName == "BytesSent" or MetricName == "BytesReceived") &#124; summarize AggregatedValue = sum(Average) by Resource, bin(TimeGenerated, 1h)</code><br> It shows all Web Apps with traffic for the last minute. Click a Web App to run a log search showing bytes received and sent for the Web App. |
96-
| Azure App Service Plans | |
97-
| App Service Plans with CPU utilization &gt; 80% | Shows the total number of App Service Plans that have CPU utilization greater than 80% and lists the top 10 App Service Plans by CPU utilization. Click the total area to run a log search for <code>AzureMetrics &#124; where ResourceId == "/MICROSOFT.WEB/SERVERFARMS/" and MetricName == "CpuPercentage" &#124; summarize AggregatedValue = avg(Average) by Resource</code><br> It shows a list of your App Service Plans and their average CPU utilization. Click an App Service Plan to run a log search showing its average CPU utilization. |
98-
| App Service Plans with memory utilization &gt; 80% | Shows the total number of App Service Plans that have memory utilization greater than 80% and lists the top 10 App Service Plans by memory utilization. Click the total area to run a log search for <code>AzureMetrics &#124; where ResourceId == "/MICROSOFT.WEB/SERVERFARMS/" and MetricName == "MemoryPercentage" &#124; summarize AggregatedValue = avg(Average) by Resource</code><br> It shows a list of your App Service Plans and their average memory utilization. Click an App Service Plan to run a log search showing its average memory utilization. |
99-
| Azure Web Apps Activity Logs | |
100-
| Azure Web Apps Activity Audit | Shows the total number of Web Apps with [activity logs](log-analytics-activity.md) and lists the top 10 activity log operations. Click the total area to run a log search for <code>AzureActivity #124; where ResourceProvider == "Azure Web Sites" #124; summarize AggregatedValue = count() by OperationName</code><br> It shows a list of the activity log operations. Click an activity log operation to run a log search that lists the records for the operation. |
101-
102-
103-
104-
### Azure Web Apps
105-
106-
In the dashboard, you can drill down to get more insight into your Web Apps metrics. This first set of blades show the trend of the Web Apps requests, number of errors (for example, HTTP404), traffic, and average response time over time. It also shows a breakdown of those metrics for different Web Apps.
107-
108-
![Azure Webapps blades](./media/log-analytics-azure-web-apps-analytics/web-apps-dash01.png)
109-
110-
A primary reason for showing you that data is so that you can identify a Web App with high response time and investigate to find the root cause. A threshold limit is also applied to help you more easily identify the ones with issues.
111-
112-
- Web Apps shown in red have response time higher than 1 second.
113-
- Web Apps shown in orange have a response time higher than 0.7 second and less than 1 second.
114-
- Web Apps shown in green have a response time less than 0.7 second.
115-
116-
In the following log search example image, you can see that the *anugup3* web app had a much higher response time than the other web apps.
117-
118-
![log search example](./media/log-analytics-azure-web-apps-analytics/web-app-search-example.png)
119-
120-
### App Service Plans
121-
122-
If you are using dedicated Service Plans, you can also collect metrics for your App Service Plans. In this view, you see your App Service Plans with high CPU or Memory utilization (&gt; 80%). It also shows you the top App services with high Memory or CPU utilization. Similarly, a threshold limit is applied to help you more easily identify the ones with issues.
123-
124-
- App Service Plans shown in red have a CPU/Memory utilization higher than 80%.
125-
- App Service Plans shown in orange have a CPU/Memory utilization higher than 60% and lower than 80%.
126-
- App Service Plans shown in green have a CPU/Memory utilization lower than 60%.
127-
128-
![Azure App Service Plans blades](./media/log-analytics-azure-web-apps-analytics/web-apps-dash02.png)
129-
130-
## Azure Web Apps log searches
131-
132-
The **List of Popular Azure Web Apps Search queries** shows you all the related activity logs for Web Apps, which provides insights into the operations that were performed on your Web Apps resources. It also lists all the related operations and the number of times they have occurred.
133-
134-
Using any of the log search queries as a starting point, you can easily create an alert. For example, you might want to create an alert when a metric's average response time is greater than every 1 second.
135-
136-
## Next steps
137-
138-
- Create an [alert](log-analytics-alerts-creating.md) for a specific metric.
139-
- Use [Log Search](log-analytics-log-searches.md) to view detailed information from your activity logs.
25+
> The Azure Web App Analytics solution has moved to community support.
26+
>- The solution is no longer available from the Azure Marketplace but can be installed from [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/101-webappazure-oms-monitoring/) where it's supported by the community.
27+
>- Customers who have already installed the solution can continue to use it with changes.
28+
>- Microsoft recommends that you use [Application Insights](../application-insights/app-insights-overview.md) to monitor your web applications.

0 commit comments

Comments
 (0)