Skip to content

Commit 241a5c3

Browse files
authored
Update view-master-logs.md
1 parent c9004a0 commit 241a5c3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/aks/view-master-logs.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ Azure Monitor logs are enabled and managed in the Azure portal. To enable log co
3333

3434
In addition to entries written by Kubernetes, your project's audit logs also have entries from AKS.
3535

36-
Audit logs are recorded into two categories, *kube-audit-admin* and *kube-audit*. The *kube-audit* category contains all audit log data for every audit event, including *get*, *list*, *create*, *update*, *delete*, *patch*, and *post*.
36+
Audit logs are recorded into three categories, *kube-audit-admin*, *guard* and *kube-audit*. The *kube-audit* category contains all audit log data for every audit event, including *get*, *list*, *create*, *update*, *delete*, *patch*, and *post*.
3737

3838
The *kube-audit-admin* category is a subset of the *kube-audit* log category. *kube-audit-admin* reduces the number of logs significantly by excluding the *get* and *list* audit events from the log.
3939

40+
The *guard* category is managed AAD and Azure RBAC audits. Token in, user info out for managed AAD, and access reviews in and out for Azure RBAC.
41+
4042
## Schedule a test pod on the AKS cluster
4143

4244
To generate some logs, create a new pod in your AKS cluster. The following example YAML manifest can be used to create a basic NGINX instance. Create a file named `nginx.yaml` in an editor of your choice and paste the following content:
@@ -71,7 +73,7 @@ pod/nginx created
7173

7274
## View collected logs
7375

74-
It may take a few minutes for the diagnostics logs to be enabled and appear.
76+
It may take up to 10 minutes for the diagnostics logs to be enabled and appear.
7577

7678
> [!NOTE]
7779
> If you need all audit log data for compliance or other purposes, collect and store it in inexpensive storage such as blob storage. Use the *kube-audit-admin* log category to collect and save a meaningful set of audit log data for monitoring and alerting purposes.

0 commit comments

Comments
 (0)