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.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,16 +13,21 @@ ms.reviewer: orens
13
13
14
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
-
For more functionality, create a diagnostic setting to send the Activity Log to one or more of these locations for the following reasons:
16
+
For more functionality, create a diagnostic setting to send the Activity Log to one or more of these locations:
- Send to [Azure Monitor Logs](../logs/data-platform-logs.md) for more complex querying and alerting and for [longer retention of up to 12 years](../logs/data-retention-configure.md).
21
+
Sending the Activity Log to one of these locations has several benefits:
22
+
23
+
- Send to a [Logs Analytics workspace](../logs/data-platform-logs.md) for more complex querying and alerting.
19
24
- Send to Azure Event Hubs to forward outside of Azure.
20
25
- Send to Azure Storage for cheaper, long-term archiving.
21
26
22
27
For details on how to create a diagnostic setting, see [Create diagnostic settings to send platform logs and metrics to different destinations](./diagnostic-settings.md).
23
28
> [!TIP]
24
-
> * Sending logs to Log Analytics workspace if free of charge for the default retention period.
25
-
> *Send to Azure Monitor Logs for more complex querying and alerting and for longer retention of up to 12 years.
29
+
> * Sending logs to a Log Analytics workspace is free of charge for the default retention period.
30
+
> *Sending logs to a Log Analytics workspace for [longer retention of up to 12 years](../logs/data-retention-configure.md).
26
31
> * Logs exported to a Log Analytics workspace can be [shown in Power BI](/power-bi/transform-model/log-analytics/desktop-log-analytics-overview)
27
32
> *[Insights](./activity-log-insights.md) are provided for Activity Logs exported to Log Analytics.
0 commit comments