Skip to content

Commit 273fb83

Browse files
author
amsliu
committed
New articles under parent CI 6472
1 parent b085919 commit 273fb83

File tree

5 files changed

+165
-4
lines changed

5 files changed

+165
-4
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Exporting Directory Level Activity Logs to Event Hub
3+
description: Provides guidance on exporting directory-level activity logs to an Event Hub using Azure's management group level diagnostic settings.
4+
ms.date: 07/10/2025
5+
ms.reviewer: v-liuamson
6+
ms.service: azure-monitor
7+
ms.custom: I can’t configure export of Activity Logs
8+
---
9+
# Exporting Directory Level Activity Logs to Event Hub
10+
11+
This article provides guidance on exporting directory-level activity logs to an Event Hub using Azure's management group level diagnostic settings. This process is essential for users who need to monitor and analyze activity logs efficiently.
12+
13+
## Introduction
14+
15+
Exporting directory-level activity logs to an Event Hub can be achieved through an API call that creates management group level diagnostic settings. This solution is particularly useful for organizations looking to centralize their log data for better analysis and monitoring.
16+
17+
### Step-by-Step Instructions to Export Logs
18+
19+
1. **Access Azure Portal**
20+
- Navigate to the Azure portal and sign in with your credentials.
21+
22+
2. **Locate Diagnostic Settings**
23+
- Go to the **Azure Monitor** section.
24+
- Select **Diagnostic settings** from the menu.
25+
26+
3. **Create or Update Diagnostic Settings**
27+
- Click on **Add diagnostic setting**.
28+
- Choose the resource for which you want to export logs.
29+
30+
4. **Configure Export to Event Hub**
31+
- Under **Destination details**, select **Event Hub**.
32+
- Provide the necessary **Event Hub namespace** and **Event Hub name**.
33+
- Ensure the **Event Hub key ID** is correctly entered.
34+
35+
5. **Save and Verify**
36+
- Click **Save** to apply the settings.
37+
- Verify that logs are being exported by checking the Event Hub for incoming data.
38+
39+
### Common Issues and Solutions
40+
41+
- **Issue:** Logs are not appearing in Event Hub.
42+
- **Solution:** Double-check the Event Hub configuration and ensure the correct namespace and key ID are used.
43+
44+
- **Issue:** Permission errors when setting up diagnostic settings.
45+
- **Solution:** Ensure you have the necessary permissions to create or update diagnostic settings in Azure.
46+
47+
Reference
48+
49+
- [Azure Monitor Documentation](https://learn.microsoft.com/azure/monitoring/)
50+
- [Event Hubs Documentation](https://learn.microsoft.com/azure/event-hubs/)
51+
52+
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 Guide on Pushing Subscription Activity Logs to Sentinel
3+
description: Provides detailed instructions on how to push subscription activity logs to Sentinel.
4+
ms.date: 07/10/2025
5+
ms.reviewer: v-liuamson
6+
ms.service: azure-monitor
7+
ms.custom: I can’t configure export of Activity Logs
8+
---
9+
# Detailed Guide on Pushing Subscription Activity Logs to Sentinel
10+
11+
This article provides guidance on how to push subscription activity logs to Sentinel using Azure's Diagnostic Settings. This process is essential for monitoring and analyzing activity logs effectively.
12+
13+
## Introduction
14+
15+
Users may encounter challenges when attempting to push subscription activity logs to Sentinel. This guide outlines the steps to configure Azure Diagnostic Settings to achieve seamless data transfer to Sentinel.
16+
17+
### Step-by-Step Instructions to configure Azure Diagnostic Settings
18+
19+
1. **Access Azure Portal**: Log in to your Azure account and navigate to the **Azure Portal**.
20+
21+
2. **Navigate to Diagnostic Settings**:
22+
- Go to the **Azure Monitor** section.
23+
- Select **Diagnostic Settings** from the menu.
24+
25+
3. **Configure Diagnostic Settings**:
26+
- Choose the resource for which you want to configure the logs.
27+
- Click on **Add Diagnostic Setting**.
28+
- Name your setting and select the logs you wish to send to Sentinel.
29+
30+
4. **Select Log Analytics Workspace**:
31+
- Under the **Destination details**, choose **Send to Log Analytics**.
32+
- Select the appropriate Log Analytics workspace where you want the logs to be sent.
33+
34+
5. **Save Configuration**:
35+
- Review your settings and click **Save** to apply the changes.
36+
37+
6. **Verify Data Transfer**:
38+
- Use the following query in your Log Analytics workspace to verify data transfer:
39+
40+
```plaintext
41+
AzureActivity | where SubscriptionId contains "<YourSubscriptionId>"
42+
```
43+
44+
### Common Issues and Solutions
45+
46+
- **Issue**: Logs are not appearing in Sentinel.
47+
- **Solution**: Ensure that the correct Log Analytics workspace is selected and that the Diagnostic Settings are properly configured.
48+
49+
## Reference
50+
51+
- [Azure Sentinel Data Connectors Reference](https://learn.microsoft.com/azure/sentinel/data-connectors-reference)
52+
- [Azure Monitor Diagnostic Settings](https://learn.microsoft.com/azure/azure-monitor/platform/diagnostic-settings?tabs=CMD)
53+
- [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)
54+
55+
If the issue persists after following the solution steps, please open a support case for further assistance.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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/10/2025
5+
ms.reviewer: v-liuamson
6+
ms.service: azure-monitor
7+
ms.custom: I can’t configure export of Activity Logs
8+
---
9+
# Resolving Log Limit Issues in Azure Function Apps
10+
11+
## Introduction
12+
13+
This article addresses the issue of Azure Function Apps reaching their daily log limit, which prevents further logs from being sent. This can occur when the log volume exceeds the configured quota, impacting the application's performance and monitoring capabilities.
14+
15+
### Step-by-Step Instructions to Resolve Log Limit Issues
16+
17+
1. **Identify the Function App**: Navigate to the Azure portal and locate the specific Function App experiencing log issues.
18+
19+
2. **Check Current Log Quota**: Access the **Application Insights** associated with the Function App. Review the current log quota settings to determine if they are being exceeded.
20+
21+
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.
22+
23+
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 needed.
24+
25+
5. **Contact Function App Owner**: If the log increase is unexpected, reach out to the Function App owner for further troubleshooting. Ensure they are aware of the log limits and potential impacts.
26+
27+
6. **Check Log Analytics Workspace**: Verify that the **Log Analytics Workspace** associated with the Application Insights does not have its own quota limitations that could affect logging.
28+
29+
7. **Monitor for Bottlenecks**: After adjusting quotas, monitor the workspace for any potential bottlenecks that may arise due to increased log volumes.
30+
31+
### Common Issues and Solutions
32+
33+
- **Unexpected Log Volume**: If logs are unexpectedly high, investigate recent changes in the application or external factors contributing to the increase.
34+
- **Quota Adjustment**: Ensure that any quota adjustments are aligned with the application's monitoring needs and budget constraints.
35+
36+
Reference
37+
38+
- [Azure Monitor Documentation](https://learn.microsoft.com/azure/azure-monitor/)
39+
- [Application Insights Quota Management](https://learn.microsoft.com/azure/azure-monitor/app/pricing)
40+
- [Log Analytics Workspace Management](https://learn.microsoft.com/azure/azure-monitor/logs/manage-cost-storage)
41+
42+
If the issue persists after following the solution steps, please open a support case for further assistance.

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: Diagnostic Settings Transition from Legacy Solutions
11-
href: activity-logs/config-export/diagnostic-settings-transition-from-legacy-solutions.md
1210
- name: Understanding and Transitioning from Legacy to Diagnostic Settings for Azure Activity Logs
1311
href: activity-logs/config-export/understanding-and-transitioning-from-legacy-to-diagnostic-settings.md
12+
- name: Diagnostic Settings Transition from Legacy Solutions
13+
href: activity-logs/config-export/diagnostic-settings-transition-from-legacy-solutions.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: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,16 @@ 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
27+
- text: Detailed Guide on Pushing Subscription Activity Logs to Sentinel
28+
url: ./activity-logs/config-export/pushing-subscription-activity-logs-to-sentinel.md
29+
- text: Exporting Directory Level Activity Logs to Event Hub
30+
url: ./activity-logs/config-export/exporting-directory-level-activity-logs-to-event-hub.md
31+
- text: Resolving Log Limit Issues in Azure Function Apps
32+
url: ./activity-logs/config-export/resolving-log-limit-issues-in-azure-function-apps.md
2733

2834
- title: Troubleshoot Azure Application Insights issues
2935
linkLists:

0 commit comments

Comments
 (0)