Skip to content

Commit 04fa141

Browse files
author
Simonx Xu
authored
Merge pull request #9410 from MicrosoftDocs/main
Auto push to live 2025-07-24 18:07:53
2 parents f55c840 + 537da00 commit 04fa141

6 files changed

Lines changed: 192 additions & 1 deletion

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: Troubleshoot Custom Log Table Creation in Azure
3+
description: Troubleshooting guide for custom log table creation in Azure.
4+
ms.date: 07/23/2025
5+
ms.reviewer: v-liuamson; v-gsitser
6+
ms.service: azure-monitor
7+
ms.custom: Configure and Manage Log analytics tables
8+
---
9+
10+
# Troubleshoot custom log table creation in Azure
11+
12+
Users might receive an error message that states "Cannot read properties of undefined (reading length)" when they try to create a custom log table by using a JSON file in Microsoft Azure. This issue typically occurs during the final step of table creation even though the JSON file is valid. If you understand the root cause of the issue and follow the correct steps, you can resolve this issue efficiently.
13+
14+
## Common issues and solutions
15+
16+
- Error: Cannot read properties of undefined (reading length): This error often indicates an issue that affects the JSON structure or the DCR configuration. Doublecheck both for accuracy.
17+
18+
- No Data Ingestion: Verify that the data source is correctly set up to collect log files. The data source type should be **Custom (Log files)**, and the stream declaration should follow the format `Custom-<TableName>`.
19+
20+
### Instructions to resolve the issue
21+
22+
1. Make sure that the JSON file that's used is correctly formatted and valid. Use a JSON validator tool to verify this.
23+
24+
2. Create a new data collection rule (DCR):
25+
1. Navigate to the Azure portal > **Log Analytics Workspace**.
26+
1. Create a DCR specifically for the custom log table. Avoid using an existing DCR that collects other types of data because this action can cause configuration conflicts.
27+
28+
3. Follow the steps that are outlined in the [Azure documentation](/azure/azure-monitor/vm/data-collection-log-json#create-custom-table) to create the custom table by using a PowerShell script. This method allows you to specify the file pattern and verify the DCR configuration after the creation is finished.
29+
30+
4. To be able to perform these actions, make sure that you have at least the Contributor role in the relevant Azure Workspace.
31+
32+
5. If the issue persists, try to refresh the Azure portal to make sure that all settings are updated.
33+
34+
## Reference
35+
36+
- [Create Custom Table in Azure](/azure/azure-monitor/vm/data-collection-log-json#create-custom-table)
37+
- [Data Collection Rule Best Practices](/azure/azure-monitor/data-collection/data-collection-rule-best-practices)
38+
39+
If the issue persists after you follow these steps, please open a support case for further assistance.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Troubleshoot Custom Table Creation Errors in Azure
3+
description: Troubleshooting guide for custom table creation errors in Azure.
4+
ms.date: 07/23/2025
5+
ms.reviewer: v-liuamson; v-gsitser
6+
ms.service: azure-monitor
7+
ms.custom: Configure and Manage Log analytics tables
8+
---
9+
10+
# Troubleshoot custom table creation errors in Azure
11+
12+
Users might receive an error message that indicates that properties of undefined data can't be read when they try to create a custom table in Microsoft Azure. This issue can occur because of temporary glitches or misconfigurations. This article helps you determine the root cause of the errors and troubleshoot this issue efficiently.
13+
14+
## Common issues and solutions
15+
16+
- **Temporary Glitches**: Often, errors are temporary. You might be able to resolve the issue by trying the process again after a short time.
17+
- **Configuration Errors**: Make sure that all configurations and permissions are correctly set in Azure.
18+
19+
### Instructions to resolve custom table creation errors
20+
21+
1. Verify JSON file validity:
22+
1. Make sure that the JSON file that's used for table creation is correctly formatted and contains all the required fields.
23+
1. Use tools such as *JSONLint* to validate the JSON structure.
24+
25+
2. Check the Azure logs:
26+
1. Navigate to **Azure Monitor**, and access the **Logs** section.
27+
1. Review the ARM logs for any error messages that are related to the custom table creation process.
28+
29+
3. Try again to create tables:
30+
1. Run the table creation process again by using the Azure portal or Azure CLI.
31+
1. If the error persists, consider using a different browser or clearing the browser cache.
32+
33+
4. Collect diagnostic information:
34+
1. Gather HAR files and console logs to identify any front-end issues.
35+
1. Use the Azure portal to capture network activity during the table creation process.
36+
37+
5. Consult Azure documentation: For detailed guidance on custom tables, see [Manage tables in a Log Analytics workspace](/azure/azure-monitor/logs/manage-logs-tables?tabs=azure-portal).
38+
39+
## References
40+
41+
- [Azure Monitor Overview](/azure/azure-monitor/fundamentals/overview)
42+
- [Create an Azure support request](/azure/azure-portal/supportability/how-to-create-azure-support-request)
43+
44+
If the issue persists after you following these steps, open a support case for further assistance.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Troubleshoot Performance Logs Not Populating in Azure Government
3+
description: Troubleshooting guide for performance logs not populating in Azure Government.
4+
ms.date: 07/24/2025
5+
ms.reviewer: v-liuamson; v-gsitser
6+
ms.service: azure-monitor
7+
ms.custom: Configure and Manage Log analytics tables
8+
---
9+
10+
# Troubleshoot performance logs not populating in Azure Government
11+
12+
Users might experience issues if performance logs don't populate in Azure Government when they set up alerts for virtual machine (VM) insights by using Data Collection Rules (DCR). This issue typically occurs when users create alerts through DCR instead of running queries directly in the Log Analytics workspace.
13+
14+
## Common issues and solutions
15+
16+
- **Issue**: Performance logs don't populate when you use DCR to set up alerts.
17+
- **Root cause**: The custom KQL query is run against the DCR, but the DCR can't access the required data tables. In this situation, the alert scope defaults to DCR. This action prevents data retrieval.
18+
- **Solution**: Set the alert scope to the Log Analytics workspace that's associated with the DCR.
19+
20+
### Instructions to resolve performance log issues
21+
22+
1. Navigate to the Azure portal, and select **Azure Monitor** on the services list.
23+
24+
2. Go to **Alerts** and select the option to either create an alert rule or edit an existing rule.
25+
26+
3. In the alert rule configuration, make sure that the **Scope** value is set to the Log Analytics workspace, not to the DCR. This setting enables the query to access the required data tables.
27+
28+
4. Verify that the query runs successfully without errors by testing it directly in the Log Analytics workspace.
29+
30+
5. Save the alert configuration, and test it to verify that performance logs are now populating correctly.
31+
32+
## References
33+
34+
- [Azure Monitor documentation](/azure/azure-monitor/)
35+
- [Log Analytics workspace overview](/azure/azure-monitor/logs/log-analytics-workspace-overview)
36+
- [Create and manage alerts in Azure](/azure/azure-monitor/alerts/alerts-overview)
37+
38+
If the issue persists after you follow these steps, open a support case for further assistance.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Understand and Mitigate High Data Consumption in Log Analytics
3+
description: Provides instructions to resolve high data usage in Log Analytics.
4+
ms.date: 07/24/2025
5+
ms.reviewer: v-liuamson; v-gsitser
6+
ms.service: azure-monitor
7+
ms.custom: Configure and Manage Log analytics tables
8+
---
9+
10+
# Understand and mitigate high data consumption in Log Analytics
11+
12+
This article discusses high data consumption that occurs in Log Analytics workspaces, and focuses on tables such as `AzureDiagnostics`. This article also provides insights into the costs that are associated with data usage, and offers steps to optimize and reduce these costs.
13+
14+
## Common issues and solutions
15+
16+
- **Data retention**: Make sure that data retention settings are configured appropriately to avoid unnecessary storage costs.
17+
- **Data filtering**: Implement data filtering to collect only necessary data and reduce the volume of data ingested.
18+
19+
### Instructions to resolve high data usage
20+
21+
1. Identify high data tables:
22+
23+
1. Use the `AzureDiagnostics` table to determine which listed references are sending large amounts of data.
24+
1. To identify the reference that's contributing to high data usage, run the following query in your Log Analytics workspace:
25+
26+
```plaintext
27+
AzureDiagnostics | distinct _ResourceId
28+
```
29+
30+
2. Review the diagnostic settings:
31+
32+
1. Navigate to the diagnostic settings of the identified reference.
33+
1. Remove unnecessary diagnostic settings if the data isn't required. This step stops the data from being sent to the AzureDiagnostics table.
34+
35+
3. Review the articles in the ["References" section](#references) to understand the costs that are associated with your Log Analytics workspace.
36+
37+
4. To optimize data usage and reduce costs, follow the best practices that are outlined in the "References" section.
38+
39+
## References
40+
41+
- [Understand Azure Monitor pricing](https://azure.microsoft.com/pricing/details/monitor/)
42+
- [Best Practices for Cost Management](/azure/azure-monitor/fundamentals/best-practices-cost)
43+
- [Cost Management for Logs](/azure/azure-monitor/logs/cost-logs)
44+
45+
If the issue persists after you follow the solution steps, open a support case for further assistance.

support/azure/azure-monitor/toc.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,16 @@ items:
113113
href: app-insights/agent/change-analysis-troubleshoot.md
114114
- name: Log Analytics
115115
items:
116+
- name: Configure and Manage Log analytics tables
117+
items:
118+
- name: Understand and mitigate high data consumption in Log Analytics
119+
href: log-analytics/configure-and-manage-log-analytics-tables/understand-and-mitigate-high-data-consumption-log-analytics.md
120+
- name: Troubleshoot custom table creation errors in Azure
121+
href: log-analytics/configure-and-manage-log-analytics-tables/troubleshoot-custom-table-creation-errors.md
122+
- name: Troubleshoot custom log table creation in Azure
123+
href: log-analytics/configure-and-manage-log-analytics-tables/troubleshoot-custom-log-table-creation.md
124+
- name: Troubleshoot performance logs not populating in Azure Government
125+
href: log-analytics/configure-and-manage-log-analytics-tables/troubleshoot-performance-logs-not-populating.md
116126
- name: Log Analytics workspaces
117127
items:
118128
- name: Error code 0x80090016 - keyset doesn't exist

support/azure/azure-storage/files/file-sync/file-sync-troubleshoot-managed-identities.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,22 @@ This issue often occurs in the following situations:
183183

184184
When the managed identity changes, the File Sync agent tries to use the new identity, but the Azure File Sync service is still configured to authorize the previous one. This mismatch causes requests to fail with the `ECS_E_AUTH_IDENTITY_NOT_FOUND` error.
185185

186-
To resolve this issue, run the following PowerShell command:
186+
To resolve this issue:
187+
188+
First, ensure the server is configured to use a managed identity.
189+
190+
You can verify this by:
191+
- Checking the **Settings** > **Managed identities** details in your storage sync service, or
192+
- Running the following PowerShell command:
193+
194+
```powershell
195+
Get-AzStorageSyncServer -ResourceGroupName <ResourceGroupName> -StorageSyncServiceName <StorageSyncServiceName>
196+
```
197+
> [!NOTE]
198+
> This error can occur whether the server is using managed identity (MI) or certificate-based authentication, so confirming the identity type is important.
199+
200+
201+
If the server is using managed identity and the identity has changed, run the following command to update the server registration:
187202

188203
```powershell
189204
Set-AzStorageSyncServer -ResourceGroupName <ResourceGroupName> -StorageSyncServiceName <StorageSyncServiceName> -Identity

0 commit comments

Comments
 (0)