Skip to content

Commit f167012

Browse files
committed
Update TOC
1 parent 1798600 commit f167012

File tree

4 files changed

+50
-52
lines changed

4 files changed

+50
-52
lines changed

.openpublishing.redirection.azure-monitor.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6264,6 +6264,11 @@
62646264
"redirect_url": "/azure/azure-monitor/reference/supported-metrics/metrics-index",
62656265
"redirect_document_id": false
62666266
},
6267+
{
6268+
"source_path_from_root": "/articles/azure-monitor/essentials/platform-logs-overview.md",
6269+
"redirect_url": "/azure/azure-monitor/data-sources",
6270+
"redirect_document_id": false
6271+
},
62676272
{
62686273
"source_path_from_root": "/articles/azure-monitor/essentials/resource-logs-categories.md",
62696274
"redirect_url": "/azure/azure-monitor/reference/supported-logs/logs-index",

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

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,44 @@ ms.date: 12/11/2023
88
ms.author: guywild
99
ms.reviewer: orens
1010

11-
# Customer intent: As an IT manager, I want to understand how I can use activity log insights to monitor changes to resources and resource groups in an Azure subscription.
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.
1212
---
1313

14-
# Monitor changes to resources and resource groups with Azure Monitor activity log insights
14+
# Use Azure Monitor activity log insights to monitor changes to resources and resource groups
15+
16+
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.
17+
18+
## View the activity log
19+
20+
You can access the activity log from most menus in the Azure portal. The menu that you open it from determines its initial filter. If you open it from the **Monitor** menu, the only filter is on the subscription. If you open it from a resource's menu, the filter is set to that resource. You can always change the filter to view all other entries. Select **Add Filter** to add more properties to the filter.
21+
<!-- convertborder later -->
22+
:::image type="content" source="./media/activity-log/view-activity-log.png" lightbox="./media/activity-log/view-activity-log.png" alt-text="Screenshot that shows the activity log." border="false":::
23+
24+
For a description of activity log categories, see [Azure activity log event schema](activity-log-schema.md#categories).
25+
26+
## Download the activity log
27+
28+
Select **Download as CSV** to download the events in the current view.
29+
<!-- convertborder later -->
30+
:::image type="content" source="media/activity-log/download-activity-log.png" lightbox="media/activity-log/download-activity-log.png" alt-text="Screenshot that shows downloading the activity log." border="false":::
31+
32+
### View change history
33+
34+
For some events, you can view the change history, which shows what changes happened during that event time. Select an event from the activity log you want to look at more deeply. Select the **Change history** tab to view any changes on the resource up to 30 minutes before and after the time of the operation.
35+
36+
:::image type="content" source="media/activity-log/change-history-event.png" lightbox="media/activity-log/change-history-event.png" alt-text="Screenshot that shows the Change history list for an event.":::
37+
38+
If any changes are associated with the event, you'll see a list of changes that you can select. Selecting a change opens the **Change history** page. This page displays the changes to the resource. In the following example, you can see that the VM changed sizes. The page displays the VM size before the change and after the change. To learn more about change history, see [Get resource changes](../../governance/resource-graph/how-to/get-resource-changes.md).
39+
40+
:::image type="content" source="media/activity-log/change-history-event-details.png" lightbox="media/activity-log/change-history-event-details.png" alt-text="Screenshot that shows the Change history page showing differences.":::
41+
42+
### Other methods to retrieve activity log events
43+
44+
You can also access activity log events by using the following methods:
45+
46+
- 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).
47+
- 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).
48+
- Use the [Azure Monitor REST API](/rest/api/monitor/) to retrieve the activity log from a REST client.
1549

1650
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.
1751

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

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: guywild
99
ms.reviewer: orens
1010
---
1111

12-
# Azure Monitor activity log
12+
# Stream Azure Monitor activity log data
1313

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

@@ -26,42 +26,6 @@ For details on how to create a diagnostic setting, see [Create diagnostic settin
2626
> * Entries in the Activity Log are representing control plane changes like a virtual machine restart, any non related entries should be written into [Azure Resource Logs](resource-logs.md)
2727
> * Entries in the Activity Log are typically a result of changes (create, update or delete operations) or an action having been initiated. Operations focused on reading details of a resource are not typically captured.
2828
29-
## Retention period
30-
31-
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.
32-
33-
## View the activity log
34-
35-
You can access the activity log from most menus in the Azure portal. The menu that you open it from determines its initial filter. If you open it from the **Monitor** menu, the only filter is on the subscription. If you open it from a resource's menu, the filter is set to that resource. You can always change the filter to view all other entries. Select **Add Filter** to add more properties to the filter.
36-
<!-- convertborder later -->
37-
:::image type="content" source="./media/activity-log/view-activity-log.png" lightbox="./media/activity-log/view-activity-log.png" alt-text="Screenshot that shows the activity log." border="false":::
38-
39-
For a description of activity log categories, see [Azure activity log event schema](activity-log-schema.md#categories).
40-
41-
## Download the activity log
42-
43-
Select **Download as CSV** to download the events in the current view.
44-
<!-- convertborder later -->
45-
:::image type="content" source="media/activity-log/download-activity-log.png" lightbox="media/activity-log/download-activity-log.png" alt-text="Screenshot that shows downloading the activity log." border="false":::
46-
47-
### View change history
48-
49-
For some events, you can view the change history, which shows what changes happened during that event time. Select an event from the activity log you want to look at more deeply. Select the **Change history** tab to view any changes on the resource up to 30 minutes before and after the time of the operation.
50-
51-
:::image type="content" source="media/activity-log/change-history-event.png" lightbox="media/activity-log/change-history-event.png" alt-text="Screenshot that shows the Change history list for an event.":::
52-
53-
If any changes are associated with the event, you'll see a list of changes that you can select. Selecting a change opens the **Change history** page. This page displays the changes to the resource. In the following example, you can see that the VM changed sizes. The page displays the VM size before the change and after the change. To learn more about change history, see [Get resource changes](../../governance/resource-graph/how-to/get-resource-changes.md).
54-
55-
:::image type="content" source="media/activity-log/change-history-event-details.png" lightbox="media/activity-log/change-history-event-details.png" alt-text="Screenshot that shows the Change history page showing differences.":::
56-
57-
### Other methods to retrieve activity log events
58-
59-
You can also access activity log events by using the following methods:
60-
61-
- 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).
62-
- 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).
63-
- Use the [Azure Monitor REST API](/rest/api/monitor/) to retrieve the activity log from a REST client.
64-
6529
## Send to Log Analytics workspace
6630

6731
Send the activity log to a Log Analytics workspace to enable the [Azure Monitor Logs](../logs/data-platform-logs.md) feature, where you:

articles/azure-monitor/toc.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ items:
55
items:
66
- name: Azure Monitor overview
77
href: overview.md
8+
- name: Insights and curated visualizations
9+
href: insights/insights-overview.md
810
- name: Multicloud monitoring
911
href: best-practices-multicloud.md
1012
- name: AIOps and machine learning
@@ -35,6 +37,8 @@ items:
3537
href: essentials/tutorial-metrics.md
3638
- name: Collect and view resource logs
3739
href: essentials/tutorial-resource-logs.md
40+
- name: Monitor resources using Activity log insights
41+
href: essentials/activity-log-insights.md
3842
- name: Create alerts
3943
href: alerts/alert-options.md
4044
- name: Monitor applications with Application Insights
@@ -590,10 +594,6 @@ items:
590594
items:
591595
- name: Overview of data sources
592596
href: data-sources.md
593-
- name: Platform logs
594-
href: essentials/platform-logs-overview.md
595-
- name: Activity log
596-
href: essentials/activity-log.md
597597
- name: Data collection
598598
items:
599599
- name: Overview
@@ -616,6 +616,10 @@ items:
616616
- name: Structure
617617
displayName: Data collection rules
618618
href: essentials/data-collection-rule-structure.md
619+
- name: Stream resource log data
620+
href: essentials/resource-logs.md
621+
- name: Stream activity log data
622+
href: essentials/activity-log.md
619623
- name: Transformations
620624
items:
621625
- name: Overview
@@ -860,8 +864,6 @@ items:
860864
href: logs/ingest-logs-event-hub.md
861865
- name: Stream monitoring data to Event Hubs
862866
href: essentials/stream-monitoring-data-event-hubs.md
863-
- name: Stream resource log data
864-
href: essentials/resource-logs.md
865867
- name: Use Microsoft Entra authentication
866868
href: logs/azure-ad-authentication-logs.md
867869
- name: Troubleshoot data collection
@@ -1026,13 +1028,6 @@ items:
10261028
href: logs/log-excel.md
10271029
- name: Migrate from Splunk to Azure Monitor Logs
10281030
href: logs/migrate-splunk-to-azure-monitor-logs.md
1029-
- name: Insights
1030-
items:
1031-
- name: Overview
1032-
displayName: insights
1033-
href: insights/insights-overview.md
1034-
- name: Activity log insights
1035-
href: essentials/activity-log-insights.md
10361031
- name: Visualize
10371032
items:
10381033
- name: Workbooks

0 commit comments

Comments
 (0)