About This Page
This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.
Bias Analysis
Bias Types:
⚠️
powershell_heavy
⚠️
missing_linux_example
⚠️
windows_tools
⚠️
windows_first
Summary:
The documentation page demonstrates a Windows bias by providing only PowerShell examples for enabling logging, omitting equivalent Azure CLI or Bash examples that would be more familiar to Linux users. The use of PowerShell is presented as the primary (and only) scripting interface, and there is no mention of cross-platform tools or Linux-specific workflows. Additionally, tools like Excel and Visual Studio are referenced for log analysis and conversion, which are traditionally Windows-centric, without suggesting Linux-friendly alternatives. The ordering of examples and tool recommendations further reinforces a Windows-first perspective.
Recommendations:
- Add equivalent Azure CLI and/or Bash examples alongside PowerShell commands for enabling diagnostic logging.
- Explicitly mention that Azure CLI is cross-platform and provide usage instructions for Linux/macOS users.
- Include references to Linux-friendly tools for log analysis, such as jq, csvkit, or open-source alternatives to Excel and Visual Studio.
- Ensure that tool recommendations (e.g., for log conversion) include cross-platform or Linux-native options, such as Python scripts or open-source utilities.
- Balance the order of presentation so that Windows and Linux approaches are given equal prominence, or alternate which is presented first.
Create pull request
Flagged Code Snippets
Set-AzDiagnosticSetting -ResourceId /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/<applicationGatewayName> -StorageAccountId /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Storage/storageAccounts/<storageAccountName> -Enabled $true
Set-AzDiagnosticSetting -ResourceId /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/<applicationGatewayName> -StorageAccountId /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Storage/storageAccounts/<storageAccountName> -Enabled $true