Hello Folks ,
Can someone guide how to enable audit logs for CIFS shares on Ontap CVO ?
Do it has to be NFS/CIFS audit enabling ? It is different for NFS and CIFS ?
Thanks in Advance !
Solved! See The Solution
Could you please help me understand what will be the unix path name as per below command :
vserver audit create -vserver <vserver> -destination <unix path> -rotate-size <size>
You have to create a volume for the log. Than you have to mount the Volume under junction path.
Example for the Command
vserver audit create -vserver vs1 -destination /audit_log
CIFS/NFS auditing is not enabled by default, you have to enable it on each SVM, as best practice, redirect the audit log to a different small volume, set up log size and rotation. for CIFS, you can use Window evnetviewer to trace the logs.
For detailed audit request, third party auditing application is required since by native, either NetApp or windows doesn't have enough function/convince to audit CIFS shares.
I have an issue here , when enabled audit log for ntfs clients . I am able to access share(\auditlog) from client machine but unable to view from the logs from eventviewer. when i am trying to open , it says "A device attached to the system is not functioning "
Thanks in advance
The below kb document has great step by step instructions as well as examples for what different types of audits would look like: