Skip to content

Commit 577759d

Browse files
committed
fix blocking issues
1 parent f270c21 commit 577759d

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

articles/azure-monitor/essentials/activity-log-insights.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Azure activity log insights
2+
title: Azure activity log and activity log insights
33
description: Learn how to monitor changes to resources and resource groups in an Azure subscription with Azure Monitor activity log insights.
44
author: guywi-ms
55
services: azure-monitor
@@ -11,7 +11,9 @@ ms.reviewer: orens
1111
# 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.
1212
---
1313

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.
1517

1618
## View the activity log
1719

@@ -41,24 +43,14 @@ If any changes are associated with the event, you'll see a list of changes that
4143

4244
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.
4345

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
5147

5248
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.
5349

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-
6050
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.
6151

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).
53+
6254
:::image type="content" source="media/activity-log/activity-logs-insights-main-screen.png" lightbox= "media/activity-log/activity-logs-insights-main-screen.png" alt-text="Screenshot that shows activity log insights dashboards.":::
6355

6456
## View resource group or subscription-level activity log insights

articles/azure-monitor/essentials/activity-log.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
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.
44
author: guywi-ms
55
services: azure-monitor
66
ms.topic: conceptual
@@ -11,7 +11,7 @@ ms.reviewer: orens
1111

1212
# Stream Azure Monitor activity log data
1313

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.
1515

1616
For more functionality, create a diagnostic setting to send the activity log to one or more of these locations for the following reasons:
1717

@@ -148,7 +148,15 @@ Each event is stored in the PT1H.json file with the following format. This forma
148148
```json
149149
{ "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"}}}
150150
```
151+
### Other methods to retrieve activity log events
151152

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.
158+
-
159+
-
152160
## Legacy collection methods
153161

154162
> [!NOTE]

articles/azure-monitor/essentials/resource-logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Stream Azure resource log data
3-
description: Learn how to stream Azure resource logs to a Log Analytics workspace, Event Hub, or Azure Storage in Azure Monitor.
3+
description: Learn how to stream Azure resource logs to a Log Analytics workspace, event hub, or Azure Storage in Azure Monitor.
44
services: azure-monitor
55
ms.topic: conceptual
66
ms.date: 08/08/2023

0 commit comments

Comments
 (0)