Skip to content

Commit a4215ae

Browse files
authored
Fix formatting and remove special characters
1 parent 7436786 commit a4215ae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

AKS-Hybrid/kubernetes-monitor-audit-events.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,16 @@ az monitor diagnostic-settings create –name <Diagnostics_Setting_Name> --resou
3636

3737
:::image type="content" source="media/kubernetes-monitor-audit-events/diagnostic-settings.png" alt-text="Screenshot of portal blade showing diagnostic settings." lightbox="media/kubernetes-monitor-audit-events/diagnostic-settings.png":::
3838

39-
AKS supports either[Azure diagnostics mode](/azure/azure-monitor/essentials/resource-logs#azure-diagnostics-mode) or [resource-specific mode](/azure/azure-monitor/essentials/resource-logs#resource-specific)for resource logs. The mode specifies the tables in the Log Analytics workspace to which the data is sent. Azure diagnostics mode sends all data to the[AzureDiagnostics table](/azure/azure-monitor/reference/tables/azurediagnostics), while resource-specific mode sends data to[ArcK8SAudit](/azure/azure-monitor/reference/tables/arck8saudit),[ArcK8SAuditAdmin](/azure/azure-monitor/reference/tables/arck8sauditadmin), and[ArcK8SControlPlane](/azure/azure-monitor/reference/tables/arck8scontrolplane), as shown in the log category table in the next section.
39+
AKS supports either [Azure diagnostics mode](/azure/azure-monitor/essentials/resource-logs#azure-diagnostics-mode) or [resource-specific mode](/azure/azure-monitor/essentials/resource-logs#resource-specific) for resource logs. The mode specifies the tables in the Log Analytics workspace to which the data is sent. Azure diagnostics mode sends all data to the [AzureDiagnostics table](/azure/azure-monitor/reference/tables/azurediagnostics), while resource-specific mode sends data to [ArcK8SAudit](/azure/azure-monitor/reference/tables/arck8saudit), [ArcK8SAuditAdmin](/azure/azure-monitor/reference/tables/arck8sauditadmin), and [ArcK8SControlPlane](/azure/azure-monitor/reference/tables/arck8scontrolplane), as shown in the log category table in the next section.
4040

4141
After you save the settings, it can take up to an hour to see the events in the Log Analytics workspace or other supported destination. You can write a KQL query to extract the insights based on the log categories you enabled.
4242

43-
4443
## Delete and disable the diagnostics setting
4544

4645
You can delete the diagnostics setting using the Azure portal, PowerShell, or Azure CLI:
4746

4847
```azurecli
49-
az monitor diagnostic-settings delete name <diagnostics-setting-name> --resource <resource-name> -g <resource-group-name>
48+
az monitor diagnostic-settings delete -name <diagnostics-setting-name> --resource <resource-name> -g <resource-group-name>
5049
```
5150

5251
After you successfully delete the setting, you can then delete the extension using Azure CLI:

0 commit comments

Comments
 (0)