Skip to content

Commit 7b09f31

Browse files
author
Amson Liu
authored
2 parents 38db5db + cefca10 commit 7b09f31

7 files changed

+160
-10
lines changed

support/azure/azure-monitor/activity-logs/config-export/diagnostic-settings-transition-from-legacy-solutions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
22
title: Diagnostic Settings Transition from Legacy Solutions
33
description: Provides step-by-step guidance on diagnostic settings transition from legacy solutions.
4-
ms.date: 07/09/2025
5-
ms.reviewer: v-liuamson
4+
ms.date: 07/16/2025
5+
ms.reviewer: v-liuamson; v-gsitser
66
ms.service: azure-monitor
77
ms.custom: I can’t configure export of Activity Logs
88
---
9+
910
# Diagnostic Settings Transition from Legacy Solutions
1011

1112
## Resolve Transition Issues from Legacy Azure Activity Log Solutions
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Exporting Directory-Level Activity Logs to Event Hubs
3+
description: Provides guidance for exporting directory-level activity logs to Event Hubs by using Azure management group-level diagnostic settings.
4+
ms.date: 07/16/2025
5+
ms.reviewer: v-liuamson; v-gsitser; v-sisidhu
6+
ms.service: azure-monitor
7+
ms.custom: I can’t configure export of Activity Logs
8+
---
9+
10+
# Export directory-level activity logs to Event Hubs
11+
12+
This article provides guidance to export directory-level activity logs to Event Hubs by using Microsoft Azure management group-level diagnostic settings. This process is essential for users who have to monitor and analyze activity logs efficiently.
13+
14+
## Introduction
15+
16+
You can export directory-level activity logs to an event hub through an API call that creates management group-level diagnostic settings. This solution is useful for organizations that want to centralize their log data for better analysis and monitoring.
17+
18+
### Instructions to export logs
19+
20+
1. **Access the Azure portal**: Navigate to the Azure portal, and sign in by using your credentials.
21+
22+
2. **Locate diagnostic settings**: Go to the **Azure Monitor** section, and select **Diagnostic settings** on the menu.
23+
24+
3. **Create or update diagnostic settings**: Select **Add diagnostic setting**, and select the resource that you want to export logs for.
25+
26+
4. **Configure export to event hub**: Under **Destination details**, select **Event Hub**. Provide the necessary **Event Hub namespace** and **Event Hub name** values. Make sure that the **Event Hub key ID** value is entered correctly.
27+
28+
5. **Save and verify**: Select **Save** to apply the settings. Check the event hub for incoming data to verify that the logs are exported.
29+
30+
### Common issues and solutions
31+
32+
- **Issue:** Logs don't appear in Event Hubs.
33+
- **Solution:** Double-check the event hub configuration to make sure that the correct namespace and key ID are used.
34+
35+
- **Issue:** Permission errors occur when making diagnostic settings.
36+
- **Solution:** Make sure that you have the necessary permissions to create or update diagnostic settings in Azure.
37+
38+
## References
39+
40+
- [Azure Monitor Documentation](https://learn.microsoft.com/azure/monitoring/)
41+
- [Event Hubs Documentation](https://learn.microsoft.com/azure/event-hubs/)
42+
- [Diagnostic settings in Azure Monitor](https://learn.microsoft.com/azure/azure-monitor/platform/diagnostic-settings#time-before-telemetry-gets-to-destination)
43+
44+
If the issue persists after following the solution steps, please open a support case for further assistance.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Detailed Guidance for Pushing Subscription Activity Logs to Sentinel
3+
description: Provides detailed instructions for pushing subscription activity logs to Sentinel.
4+
ms.date: 07/16/2025
5+
ms.reviewer: v-liuamson; v-gsitser; v-sisidhu
6+
ms.service: azure-monitor
7+
ms.custom: I can’t configure export of Activity Logs
8+
---
9+
10+
# Push subscription activity logs to Sentinel
11+
12+
This article provides guidance for pushing subscription activity logs to Microsoft Sentinel by using Azure's Diagnostic Settings. This process is essential for monitoring and analyzing activity logs effectively.
13+
14+
Users might encounter challenges when they try to push subscription activity logs to Sentinel. This guide outlines the steps to configure Azure Diagnostic Settings to achieve seamless data transfer to Sentinel.
15+
16+
## Instructions to configure Azure Diagnostic Settings
17+
18+
1. **Access Azure Portal**: Log in to your Azure account, and navigate to the Azure portal.
19+
20+
2. **Navigate to Diagnostic Settings**:
21+
- Go to the **Azure Monitor** section.
22+
- On the menu, select **Diagnostic Settings**.
23+
24+
3. **Configure Diagnostic Settings**:
25+
- Select the resource that you want to configure the logs for.
26+
- Select **Add Diagnostic Setting**.
27+
- Name your setting, and select the logs that you want to send to Sentinel.
28+
29+
4. **Select Log Analytics workspace**:
30+
- Under **Destination details**, select **Send to Log Analytics**.
31+
- Select the appropriate Log Analytics workspace that you want to send the logs to.
32+
33+
5. **Save configuration**:
34+
- Review your settings, and select **Save** to apply the changes.
35+
36+
6. **Verify data transfer**:
37+
- Use the following query in your Log Analytics workspace to verify the data transfer:
38+
39+
```plaintext
40+
AzureActivity | where SubscriptionId contains "<YourSubscriptionId>"
41+
```
42+
43+
### Common issues and solutions
44+
45+
- **Issue**: Logs aren't appearing in Sentinel.
46+
- **Solution**: Make sure that the correct Log Analytics workspace is selected and that the diagnostic settings are correctly configured.
47+
48+
## References
49+
50+
- [Azure Sentinel Data Connectors Reference](https://learn.microsoft.com/azure/sentinel/data-connectors-reference)
51+
- [Azure Monitor Diagnostic Settings](https://learn.microsoft.com/azure/azure-monitor/platform/diagnostic-settings?tabs=CMD)
52+
- [Connect Services via Diagnostic Setting-Based Connector](https://learn.microsoft.com/azure/sentinel/connect-services-diagnostic-setting-based#connect-via-a-diagnostic-setting-based-connector-managed-by-azure-policy)
53+
- [Diagnostic settings in Azure Monitor](https://learn.microsoft.com/azure/azure-monitor/platform/diagnostic-settings#time-before-telemetry-gets-to-destination)
54+
55+
If the issue persists after following the solution steps, please open a support case for further assistance.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Resolving Log Limit Issues in Azure Function Apps
3+
description: Provides step-by-step instructions to resolve log limit issues in Azure Function Apps.
4+
ms.date: 07/16/2025
5+
ms.reviewer: v-liuamson; v-gsitser; v-sisidhu
6+
ms.service: azure-monitor
7+
ms.custom: I can’t configure export of Activity Logs
8+
---
9+
10+
# Resolve log limit issues in Azure Function Apps
11+
12+
This article discusses the issue of Azure Function Apps reaching their daily log limit. This condition prevents additional logs from being sent and affects the application's performance and monitoring capabilities. The issue might occur if the log volume exceeds the configured quota.
13+
14+
## Instructions to resolve log limit issues
15+
16+
To resolve log limit issues in Azure Function Apps, follow these steps:
17+
18+
1. **Identify the Function App**: Navigate to the Azure portal, and locate the specific Function App that is experiencing log issues.
19+
20+
2. **Check current log quota**: Access the **Application Insights** that's associated with the Function App. Review the current log quota settings to determine whether they're being exceeded.
21+
22+
3. **Evaluate log volume**: Analyze the logs to assess whether the increase in log volume is justified. Use Azure Monitor charts to visualize log trends and identify any anomalies.
23+
24+
4. **Increase log quota**: If the log volume increase is reasonable, adjust the log quota in Application Insights. Go to the **Settings** section, select **Usage and estimated costs**, and modify the quota as appropriate.
25+
26+
5. **Contact function app owner**: If the log increase is unexpected, reach out to the Function App owner for further troubleshooting. Make sure that they're aware of the log limits and potential effects.
27+
28+
6. **Check Log Analytics workspace**: Verify that the Log Analytics workspace that's associated with the Application Insights doesn't have its own quota limitations that could affect logging.
29+
30+
7. **Monitor for bottlenecks**: After you adjust the quotas, monitor the workspace for any potential bottlenecks that might occur because of increased log volumes.
31+
32+
## Common issues and solutions
33+
34+
- **Unexpected log volume**: If log volumes are unexpectedly high, investigate recent changes in the application or external factors that might contribute to the increase.
35+
- **Quota adjustment**: Make sure that any quota adjustments are aligned with the application's monitoring needs and budget constraints.
36+
37+
## References
38+
39+
- [Azure Monitor Documentation](https://learn.microsoft.com/azure/azure-monitor/)
40+
- [Application Insights Quota Management](https://learn.microsoft.com/azure/azure-monitor/app/pricing)
41+
- [Log Analytics Workspace Management](https://learn.microsoft.com/azure/azure-monitor/logs/manage-cost-storage)
42+
43+
If the issue persists after following the solution steps, please open a support case for further assistance.

support/azure/azure-monitor/activity-logs/config-export/understanding-and-transitioning-from-legacy-to-diagnostic-settings.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
2-
title: Understanding and Transitioning from Legacy to Diagnostic Settings for Azure Activity Logs
2+
title: Understanding and Transitioning from Legacy to Diagnostic Settings for Activity Logs
33
description: Provides step-by-step instructions to transition from legacy to diagnostic settings.
4-
ms.date: 07/09/2025
5-
ms.reviewer: v-liuamson
4+
ms.date: 07/16/2025
5+
ms.reviewer: v-liuamson; v-gsitser
66
ms.service: azure-monitor
77
ms.custom: I can’t configure export of Activity Logs
88
---
9-
# Understanding and Transitioning from Legacy to Diagnostic Settings for Azure Activity Logs
9+
10+
# Understanding and Transitioning from Legacy to Diagnostic Settings for Activity Logs
1011

1112
When Azure announced the transition from legacy solutions to diagnostic settings for forwarding activity logs, users received notifications about necessary updates. This article provides guidance on how to manage this transition effectively.
1213

support/azure/azure-monitor/toc.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ items:
77
items:
88
- name: Configuring Export in Azure Portal
99
items:
10+
- name: Understanding and Transitioning from Legacy to Diagnostic Settings for Activity Logs
11+
href: activity-logs/config-export/understanding-and-transitioning-from-legacy-to-diagnostic-settings.md
1012
- name: Diagnostic Settings Transition from Legacy Solutions
1113
href: activity-logs/config-export/diagnostic-settings-transition-from-legacy-solutions.md
12-
- name: Understanding and Transitioning from Legacy to Diagnostic Settings for Azure Activity Logs
13-
href: activity-logs/config-export/understanding-and-transitioning-from-legacy-to-diagnostic-settings.md
14+
- name: Detailed Guide on Pushing Subscription Activity Logs to Sentinel
15+
href: activity-logs/config-export/pushing-subscription-activity-logs-to-sentinel.md
16+
- name: Exporting Directory Level Activity Logs to Event Hub
17+
href: activity-logs/config-export/exporting-directory-level-activity-logs-to-event-hub.md
18+
- name: Resolving Log Limit Issues in Azure Function Apps
19+
href: activity-logs/config-export/resolving-log-limit-issues-in-azure-function-apps.md
1420
- name: Application Insights
1521
items:
1622
- name: OpenTelemetry troubleshooting

support/azure/azure-monitor/welcome-azure-monitor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ landingContent:
2020
linkLists:
2121
- linkListType: how-to-guide
2222
links:
23-
- text: Diagnostic Settings Transition from Legacy Solutions
24-
url: ./activity-logs/config-export/diagnostic-settings-transition-from-legacy-solutions.md
2523
- text: Understanding and Transitioning from Legacy to Diagnostic Settings for Azure Activity Logs
2624
url: ./activity-logs/config-export/understanding-and-transitioning-from-legacy-to-diagnostic-settings.md
25+
- text: Diagnostic Settings Transition from Legacy Solutions
26+
url: ./activity-logs/config-export/diagnostic-settings-transition-from-legacy-solutions.md
2727

2828
- title: Troubleshoot Azure Application Insights issues
2929
linkLists:

0 commit comments

Comments
 (0)