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/azure-monitor/essentials/activity-log-insights.md
+7-15Lines changed: 7 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Azure activity log insights
2
+
title: Azure activity log and activity log insights
3
3
description: Learn how to monitor changes to resources and resource groups in an Azure subscription with Azure Monitor activity log insights.
4
4
author: guywi-ms
5
5
services: azure-monitor
@@ -11,7 +11,9 @@ ms.reviewer: orens
11
11
# Customer intent: As an IT manager, I want to understand how I can use the activity log and activity log insights to monitor changes to resources and resource groups in an Azure subscription.
12
12
---
13
13
14
-
# Use Azure Monitor activity log insights to monitor changes to resources and resource groups
14
+
# Use the Azure Monitor activity log and activity log insights
15
+
16
+
The Azure Monitor activity log is a platform log that provides insight into subscription-level events. The activity log includes information like when a resource is modified or a virtual machine is started. This article provides information on how to view the activity log and send it to different destinations.
15
17
16
18
## View the activity log
17
19
@@ -41,24 +43,14 @@ If any changes are associated with the event, you'll see a list of changes that
41
43
42
44
Activity log events are retained in Azure for *90 days* and then deleted. There's no charge for entries during this time regardless of volume. For more functionality, such as longer retention, create a diagnostic setting and route the entries to another location based on your needs. See the criteria in the preceding section.
43
45
44
-
### Other methods to retrieve activity log events
45
-
46
-
You can also access activity log events by using the following methods:
47
-
48
-
- Use the [Get-AzLog](/powershell/module/az.monitor/get-azlog) cmdlet to retrieve the activity log from PowerShell. See [Azure Monitor PowerShell samples](../powershell-samples.md#retrieve-activity-log).
49
-
- Use [az monitor activity-log](/cli/azure/monitor/activity-log) to retrieve the activity log from the CLI. See [Azure Monitor CLI samples](../cli-samples.md#view-activity-log).
50
-
- Use the [Azure Monitor REST API](/rest/api/monitor/) to retrieve the activity log from a REST client.
46
+
## Activity log insights
51
47
52
48
Activity log insights provide you with a set of dashboards that monitor the changes to resources and resource groups in a subscription. The dashboards also present data about which users or services performed activities in the subscription and the activities' status. This article explains how to onboard and view activity log insights in the Azure portal.
53
49
54
-
Before you use activity log insights, you must [enable sending logs to your Log Analytics workspace](./diagnostic-settings.md).
55
-
56
-
## How do activity log insights work?
57
-
58
-
Azure Monitor stores all activity logs you send to a [Log Analytics workspace](../logs/log-analytics-workspace-overview.md) in a table called `AzureActivity`.
59
-
60
50
Activity log insights are a curated [Log Analytics workbook](../visualize/workbooks-overview.md) with dashboards that visualize the data in the `AzureActivity` table. For example, data might include which administrators deleted, updated, or created resources and whether the activities failed or succeeded.
61
51
52
+
Azure Monitor stores all activity logs you send to a [Log Analytics workspace](../logs/log-analytics-workspace-overview.md) in a table called `AzureActivity`. Before you use activity log insights, you must [enable sending logs to your Log Analytics workspace](./diagnostic-settings.md).
Copy file name to clipboardExpand all lines: articles/azure-monitor/essentials/activity-log.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Azure activity log
3
-
description: View the Azure Monitor activity log and send it to Azure Monitor Logs, Azure Event Hubs, and Azure Storage.
2
+
title: Stream Azure activity log data
3
+
description: Send Azure Monitor activity log data to Azure Monitor Logs, Azure Event Hubs, and Azure Storage.
4
4
author: guywi-ms
5
5
services: azure-monitor
6
6
ms.topic: conceptual
@@ -11,7 +11,7 @@ ms.reviewer: orens
11
11
12
12
# Stream Azure Monitor activity log data
13
13
14
-
The Azure Monitor activity log is a [platform log](./platform-logs-overview.md) in Azure that provides insight into subscription-level events. The activity log includes information like when a resource is modified or a virtual machine is started. You can view the activity log in the Azure portal or retrieve entries with PowerShell and the Azure CLI. This article provides information on how to view the activity log and send it to different destinations.
14
+
The Azure Monitor activity log is a platform log that provides insight into subscription-level events. The activity log includes information like when a resource is modified or a virtual machine is started. You can view the activity log in the Azure portal or retrieve entries with PowerShell and the Azure CLI. This article provides information on how to view the activity log and send it to different destinations.
15
15
16
16
For more functionality, create a diagnostic setting to send the activity log to one or more of these locations for the following reasons:
17
17
@@ -148,7 +148,15 @@ Each event is stored in the PT1H.json file with the following format. This forma
148
148
```json
149
149
{ "time": "2020-06-12T13:07:46.766Z", "resourceId": "/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000/RESOURCEGROUPS/MY-RESOURCE-GROUP/PROVIDERS/MICROSOFT.COMPUTE/VIRTUALMACHINES/MV-VM-01", "correlationId": "0f0cb6b4-804b-4129-b893-70aeeb63997e", "operationName": "Microsoft.Resourcehealth/healthevent/Updated/action", "level": "Information", "resultType": "Updated", "category": "ResourceHealth", "properties": {"eventCategory":"ResourceHealth","eventProperties":{"title":"This virtual machine is starting as requested by an authorized user or process. It will be online shortly.","details":"VirtualMachineStartInitiatedByControlPlane","currentHealthStatus":"Unknown","previousHealthStatus":"Unknown","type":"Downtime","cause":"UserInitiated"}}}
150
150
```
151
+
### Other methods to retrieve activity log events
151
152
153
+
You can also access activity log events by using the following methods:
154
+
155
+
- Use the [Get-AzLog](/powershell/module/az.monitor/get-azlog) cmdlet to retrieve the activity log from PowerShell. See [Azure Monitor PowerShell samples](../powershell-samples.md#retrieve-activity-log).
156
+
- Use [az monitor activity-log](/cli/azure/monitor/activity-log) to retrieve the activity log from the CLI. See [Azure Monitor CLI samples](../cli-samples.md#view-activity-log).
157
+
- Use the [Azure Monitor REST API](/rest/api/monitor/) to retrieve the activity log from a REST client.
0 commit comments