Creating a Microsoft SQL Server auditing object
Create an auditing object to store audit events.
Procedure
- Log in to your Microsoft SQL Server Management Studio.
- From the navigation menu, select Security > Audits.
- Right-click Audits and select New Audit.
- In the Audit name field, type a name for the new audit file.
- From the Audit destination list, select File.
- From the File path field, type the directory path for your Microsoft SQL Server audit file.
- Click OK.
- Right-click your audit object and select Enable Audit.