Skip to content

Commit 632a8be

Browse files
authored
Merge pull request #102078 from bwren/am-activity-log
Azure Monitor activity log updates
2 parents 991696b + 69ac411 commit 632a8be

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
lines changed

articles/azure-monitor/platform/activity-log-export.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ author: bwren
55
services: azure-monitor
66
ms.service: azure-monitor
77
ms.topic: conceptual
8-
ms.date: 05/20/2019
8+
ms.date: 01/23/2020
99
ms.author: bwren
1010
ms.subservice: logs
1111
---
1212

1313
# Export Azure Activity log to storage or Azure Event Hubs
1414

15-
> [!WARNING]
16-
> You can now collect the Activity log into a Log Analytics workspace using a diagnostic setting similar to how you collect resource logs. See [Collect and analyze Azure activity logs in Log Analytics workspace in Azure Monitor](diagnostic-settings-legacy.md).
15+
> [!IMPORTANT]
16+
> The method for sending the Azure Activity log to Azure Storage and Azure Event Hubs has changed to [diagnostic settings](diagnostic-settings.md). This article describes the legacy method which is in the process of being deprecated. See Update to [Azure Activity log collection and export](diagnostic-settings-legacy.md) for a comparison.
17+
1718

1819
The [Azure Activity Log](platform-logs-overview.md) provides insight into subscription-level events that have occurred in your Azure subscription. In addition to viewing the Activity log in the Azure portal or copying it to a Log Analytics workspace where it can be analyzed with other data collected by Azure Monitor, you can create a log profile to archive the Activity log to an Azure storage account or stream it to an Event Hub.
1920

@@ -67,9 +68,14 @@ If retention policies are set, but storing logs in a storage account is disabled
6768

6869
Create or edit a log profile with the **Export to Event Hub** option in the Azure portal.
6970

70-
1. From the **Monitor** menu in the Azure portal, select **Export to Event Hub**.
71+
1. From the **Azure Monitor** menu in the Azure portal, select **Activity log**.
72+
3. Click **Diagnostic settings**.
73+
74+
![Diagnostic settings](media/diagnostic-settings-subscription/diagnostic-settings.png)
75+
76+
4. Click the purple banner for the legacy experience.
7177

72-
![Export button in portal](media/activity-log-export/portal-export.png)
78+
![Legacy experience](media/diagnostic-settings-subscription/legacy-experience.png)
7379

7480
3. In the blade that appears, specify the following:
7581
* Regions with the events to export. You should select all regions to ensure that you don't miss key events since the Activity Log is a global (non-regional) log and so most events do not have a region associated with them.

articles/azure-monitor/platform/diagnostic-settings-legacy.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ ms.service: azure-monitor
66
ms.subservice: logs
77
ms.topic: conceptual
88
ms.author: bwren
9-
ms.date: 12/20/2019
9+
ms.date: 01/21/2020
1010

1111
---
1212

13-
# Collect Azure Activity log with legacy settings
14-
The [Azure Activity log](platform-logs-overview.md) is a [platform log](platform-logs-overview.md) that provides insight into subscription-level events that have occurred in Azure. Until recently, you created a log profile to send Activity log entries to [an event hub or storage account](activity-log-export.md) and used a connector to collect them into a [Log Analytics workspace](activity-log-collect.md). This article describes the difference between the methods, how to work with existing legacy settings, and how to clear legacy settings in preparation for diagnostic settings.
13+
# Update to Azure Activity log collection and export
14+
The [Azure Activity log](platform-logs-overview.md) is a [platform log](platform-logs-overview.md) that provides insight into subscription-level events that have occurred in Azure. The method to send Activity log entries to [an event hub or storage account](activity-log-export.md) or to a [Log Analytics workspace](activity-log-collect.md) has changed to use [diagnostic settings](diagnostic-settings.md). This article describes the difference between the methods and how to clear legacy settings in preparation to change to diagnostic settings.
1515

1616

1717
## Differences between methods
@@ -35,14 +35,16 @@ Consider the following details of Activity log collection using diagnostic setti
3535
### Differences in data
3636
Diagnostic settings collect the same data as the previous methods used to collect the Activity log with the following current differences:
3737

38-
The following properties have been removed:
38+
The following columns have been removed. The replacement for these columns are in a different format, so you may need to modify log queries that use them. You may still see removed columns in the schema, but they won't be populated with data.
3939

40-
- ActivityStatus
41-
- ActivitySubstatus
42-
- OperationName
43-
- ResourceProvider
40+
| Removed column | Replacement column |
41+
|:---|:---|
42+
| ActivityStatus | ActivityStatusValue |
43+
| ActivitySubstatus | ActivitySubstatusValue |
44+
| OperationName | OperationNameValue |
45+
| ResourceProvider | ResourceProviderValue |
4446

45-
The following properties have been added:
47+
The following column have been added:
4648

4749
- Authorization_d
4850
- Claims_d

0 commit comments

Comments
 (0)