You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/get-resource-events.md
+15-18Lines changed: 15 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,56 +7,53 @@ ms.date: 04/24/2020
7
7
---
8
8
# Get resource events in Azure App Service
9
9
10
-
## Overview
11
-
Azure provides built-in tools to monitor the status and health of your resources. Resource events help you understand any changes that were made to your underlying web app resources and take action as necessary. Event examples include: scaling of instances, updates to application settings, restarting of the web app, and many more. In this article, you'll learn how to view Activity Logs and enable Event Grid to monitor resource events related to your App Service web app.
10
+
Azure App Service provides built-in tools to monitor the status and health of your resources. Resource events help you understand any changes that were made to your underlying web app resources and take action as necessary. Event examples include: scaling of instances, updates to application settings, restarting of the web app, and many more. In this article, you'll learn how to view [Azure Activity Logs]((https://docs.microsoft.com/azure/azure-monitor/platform/activity-log-view) and enable [Event Grid](https://docs.microsoft.com/azure/event-grid/) to monitor resource events related to your App Service web app.
12
11
13
12
> [!NOTE]
14
13
> App Service integration with Event Grid is in preview.
15
14
>
16
15
17
-
## Activity Logs
18
-
Activity Logs contain resource events emitted by operations taken on the resources in your subscription. Both the user actions in the Azure Portal and Azure Resource Manager templates contribute to the events captured by the Activity log.
16
+
## View Azure Activity Logs
17
+
Azure Activity Logs contain resource events emitted by operations taken on the resources in your subscription. Both the user actions in the Azure Portal and Azure Resource Manager templates contribute to the events captured by the Activity log.
19
18
20
-
Activity logs provide details such as:
21
-
- what operations were taken on the resources in your subscription
19
+
Azure Activity Logs for App Service details such as:
20
+
- what operations were taken on the resources (ex: App Service Plans)
22
21
- who started the operation
23
22
- when the operation occurred
24
23
- the status of the operation
25
-
-the values of other properties that might help you research the operation
24
+
-property values to help you research the operation
26
25
27
26
### What can you do with Activity Logs?
28
27
29
-
Activity Logs can be queried using the Azure Portal, PowerShell, REST API, or CLI. You can send the logs to a storage account, Event Hub, and Log Analytics. You can also analyze them in PowerBI or create alerts to stay updated on resource events.
28
+
Azure Activity Logs can be queried using the Azure Portal, PowerShell, REST API, or CLI. You can send the logs to a storage account, Event Hub, and Log Analytics. You can also analyze them in PowerBI or create alerts to stay updated on resource events.
30
29
31
-
(View and retrieve Azure Activity log events.)[https://docs.microsoft.com/en-us/azure/azure-monitor/platform/activity-log-view]
30
+
[View and retrieve Azure Activity log events.](https://docs.microsoft.com/azure/azure-monitor/platform/activity-log-view)
32
31
33
-
## Event Grid
32
+
## Ship Activity Logs Event Grid
34
33
35
-
While Activity logs are user-based, there's a new Event-grid integration with App Service (preview) that logs both user actions and automated events. With Event Grid, you can configure a handler to react to the said events. For example, use Event Grid to instantly trigger a serverless function to run image analysis each time a new photo is added to a blob storage container. Alternatively, you can use Event Grid with Logic Apps to process data anywhere, without writing code. Event Grid connects data sources and event handlers. For example, use Event Grid to instantly trigger a serverless function to run image analysis each time a new photo is added to a blob storage container.
34
+
While Activity logs are user-based, there's a new [Event Grid](https://docs.microsoft.com/azure/event-grid/) integration with App Service (preview) that logs both user actions and automated events. With Event Grid, you can configure a handler to react to the said events. For example, use Event Grid to instantly trigger a serverless function to run image analysis each time a new photo is added to a blob storage container.
36
35
37
-
### Event Types
36
+
Alternatively, you can use Event Grid with Logic Apps to process data anywhere, without writing code. Event Grid connects data sources and event handlers. For example, use Event Grid to instantly trigger a serverless function to run image analysis each time a new photo is added to a blob storage container.
37
+
38
+
### Supported Event Types
38
39
|Event Type|Description|
39
-
|-|-|
40
40
|Microsoft.web/sites|(Webapp)|
41
41
| BackupOperationCompleted |Backup of the webapp completed successfully|
42
42
| BackupOperationFailed | Backup of the webapp failed|
43
-
|-|-|
44
43
| RestoreOperationStarted |Restore from backup has started|
45
44
| RestoreOperationCompleted |Restore from backup completed successfully|
46
45
| RestoreOperationFailed |Restore from backup failed|
0 commit comments