You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-netapp-files/manage-file-access-logs.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.workload: storage
13
13
ms.tgt_pltfrm: na
14
14
ms.devlang: na
15
15
ms.topic: how-to
16
-
ms.date: 07/18/2022
16
+
ms.date: 04/24/2023
17
17
ms.author: anfdocs
18
18
---
19
19
# Manage file access logs in Azure NetApp Files
@@ -26,8 +26,8 @@ File access logs provide file access logging for individual volumes, capturing f
26
26
27
27
* Once file access logs are enabled on a volume, they can take a maximum of five minutes to become visible.
28
28
* File access logs occasionally create duplicate logs that must be manually filtered.
29
-
* Deleting any diagnostic settings configured for ANFFileAccess causes any file access logs for any volumes with that setting to be disabled.
30
-
* Before enabling file access logs on a volume, either ACLs or Audit ACEs need to be set on a file or directory. ACLs or Audit ACEs must be set after mounting a volume.
29
+
* Deleting any diagnostic settings configured for `ANFFileAccess` causes any file access logs for any volumes with that setting to be disabled.
30
+
* Before enabling file access logs on a volume, either [ACLs](configure-access-control-lists.md) or Audit ACEs need to be set on a file or directory. ACLs or Audit ACEs must be set after mounting a volume.
31
31
* File access logs provide no explicit or implicit expectations or guarantees around logging for auditing and compliance purposes.
32
32
33
33
## Recognized events
@@ -75,7 +75,7 @@ You can also use [Azure CLI commands](/cli/azure/feature) `az feature register`
75
75
1. Select the volume you want to enable file access logs for.
76
76
2. Select **Diagnostic settings** from the left-hand pane.
77
77
:::image type="content" source="../media/azure-netapp-files/logs-diagnostic-settings-add.png" alt-text="Azure Diagnostic settings menu showing how to add ANF file access logs.":::
78
-
3. In the **Diagnostic settings** page, provide a diagnostic setting name, select *ANFFileAccess* and then set the retention period of the logs.
78
+
3. In the **Diagnostic settings** page, provide a diagnostic setting name, select **ANFFileAccess** and then set the retention period of the logs.
79
79
:::image type="content" source="../media/azure-netapp-files/logs-diagnostic-settings-enable.png" alt-text="Azure Diagnostic settings menu showing how to enable ANF file access logs":::
80
80
4. Select one of the destination options for the logs:
81
81
* Archive to a storage account
@@ -90,8 +90,11 @@ You can also use [Azure CLI commands](/cli/azure/feature) `az feature register`
90
90
2. Select the **Diagnostic setting** menu from the left-hand pane.
91
91
3. In the **Diagnostic settings** page, deselect **ANFFileAccess**.
92
92
4. Save the settings.
93
+
94
+
>[!NOTE]
95
+
>After disabling file access logs, you must wait at least ten minutes before attempting to enable or re-enable file access logs on any volume.
The Azure NetApp Files file access logs feature will provide Azure NetApp Files customers with access logs for their files accessed (data plane logging) on SMB, NFSv4.1, and dual-protocol (SMB/NFSv4.1) volumes. With this feature administrators can enable logging, and view and report on file access operations sent to a variety of logging destinations. Standard file system operations will be captured in the logs. This feature is supports SMB and NFSv4.1 enabled volumes.
24
+
The Azure NetApp Files file access logs feature provides Azure NetApp Files customers with access logs for their files accessed (data plane logging) on SMB, NFSv4.1, and dual-protocol (SMB/NFSv4.1) volumes. With this feature administrators can enable logging, and view and report on file access operations sent to a variety of logging destinations. Standard file system operations will be captured in the logs. This feature is supports SMB and NFSv4.1 enabled volumes.
0 commit comments