Skip to content

Commit d73d2a6

Browse files
committed
Updated URLs for proper markdown syntax
1 parent 91ace67 commit d73d2a6

1 file changed

Lines changed: 44 additions & 3 deletions

File tree

articles/application-gateway/application-gateway-diagnostics.md

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services: application-gateway
77
author: mbender-ms
88
ms.service: azure-application-gateway
99
ms.topic: concept-article
10-
ms.date: 06/16/2025
10+
ms.date: 01/05/2026
1111
ms.author: mbender
1212
ms.custom:
1313
- ai-gen-docs-bap
@@ -35,6 +35,47 @@ You can use different types of logs in Azure to manage and troubleshoot applicat
3535
> [!NOTE]
3636
> Logs are available only for resources deployed in the Azure Resource Manager deployment model. You can't use logs for resources in the classic deployment model. For a better understanding of the two models, see the [Understanding Resource Manager deployment and classic deployment](../azure-resource-manager/management/deployment-models.md) article.
3737
38+
## Storage locations for diagnostic logs
39+
Azure Monitor provides multiple options for storing resource logs depending on your analysis, retention, and integration requirements. When configuring diagnostic settings, you can choose one or more destinations for log collection.
40+
41+
**Log Analytics workspace (recommended)**
42+
A Log Analytics workspace is the recommended destination for collecting and analyzing Application Gateway resource logs. It enables:
43+
44+
- Use of predefined queries and visualizations
45+
- Creation of alerts based on specific log conditions
46+
- Integration with Azure Monitor features and insights
47+
In Log Analytics, the table used for storing diagnostic logs depends on the collection type configured in the diagnostic setting.
48+
49+
**Collection types in Log Analytics**
50+
51+
**Azure Diagnostics (legacy):** When you select Azure Diagnostics, all logs are written to the shared AzureDiagnostics table.Because this table is shared across many resource types, each service writes its own custom fields. When the number of custom fields exceeds 500, additional fields are stored under the AdditionalFields dynamic property as key/value pairs. This can lead to reduced discoverability and more complex queries.
52+
53+
**Resource-specific (recommended):** When you select Resource-specific, logs are written into dedicated tables for each category.
54+
Resource-specific mode provides:
55+
56+
- Simplified querying with predictable schemas
57+
- Improved discoverability of fields and table structures
58+
- Better performance due to lower ingestion latency and faster query execution
59+
- Granular RBAC by assigning access at the table level
60+
61+
For Application Gateway, resource-specific mode creates the following tables:
62+
63+
- [AGWAccessLogs](/azure/azure-monitor/reference/tables/agwaccesslogs.md)
64+
- [AGWPerformanceLogs](/azure/azure-monitor/reference/tables/agwperformancelogs.md)
65+
- [AGWFirewallLogs](/azure/azure-monitor/reference/tables/agwfirewalllogs.md)
66+
67+
**Selecting the collection type in Log analytics**
68+
69+
Azure services are transitioning to resource-specific mode. As part of this migration, a toggle is available in the diagnostic settings to choose either:
70+
71+
- Resource-specific (default)
72+
- Azure Diagnostics
73+
74+
The toggle determines whether logs for the selected categories are routed to dedicated tables or to the AzureDiagnostics table. When switching to resource-specific mode, only newly selected categories use the dedicated tables; existing streams continue unchanged until reconfigured.
75+
76+
Selecting resource-specific mode provides enhanced flexibility through workspace transformations, allowing you to preprocess data before ingestion.For guidance on configuring workspace transformations, see: [Tutorial: Add a workspace transformation to Azure Monitor Logs by using the Azure portal](/azure/azure-monitor/logs/tutorial-workspace-transformations-portal.md)
77+
78+
3879
## Examples of optimizing access logs using Workspace Transformations
3980

4081
**Example 1: Selective Projection of Columns**: Imagine you have application gateway access logs with 20 columns, but you're interested in analyzing data from only six specific columns. By using workspace transformation, you can project these six columns into your workspace, effectively excluding the other 14 columns. Even though the original data from those excluded columns won't be stored, empty placeholders for them still appear in the Logs blade. This approach optimizes storage and ensures that only relevant data is retained for analysis.
@@ -58,7 +99,7 @@ Other storage locations:
5899
- **Azure Event Hubs**: Event hubs are a great option for integrating with other security information and event management (SIEM) tools to get alerts on your resources.
59100
- **Azure Monitor partner integrations**.
60101

61-
Learn more about the Azure Monitor's [diagnostic settings destinations](/azure/azure-monitor/essentials/diagnostic-settings?WT.mc_id=Portal-Microsoft_Azure_Monitoring&tabs=portal#destinations) .
102+
Learn more about the Azure Monitor's [diagnostic settings destinations](/azure/azure-monitor/essentials/diagnostic-settings.md) .
62103

63104
## Enable logging through PowerShell
64105

@@ -116,4 +157,4 @@ You can also connect to your storage account and retrieve the JSON log entries f
116157
117158
- Visualize counter and event logs by using [Azure Monitor logs](/previous-versions/azure/azure-monitor/insights/azure-networking-analytics).
118159
- [Visualize your Azure activity log with Power BI](https://powerbi.microsoft.com/blog/monitor-azure-audit-logs-with-power-bi/) blog post.
119-
- [View and analyze Azure activity logs in Power BI and more](https://azure.microsoft.com/blog/analyze-azure-audit-logs-in-powerbi-more/) blog post.
160+
- [View and analyze Azure activity logs in Power BI and more](https://azure.microsoft.com/blog/analyze-azure-audit-logs-in-powerbi-more/) blog post.

0 commit comments

Comments
 (0)