Use the SQL Server Server Audit Editor to define the actions on the server to audit and for whom. In addition, define the physical file that is used to contain the audit data.
To define a SQL Server 2012 server audit
The SQL Server Server Audit Editor opens.
Note: Click New on the toolbar to create a server audit. Use the Enter filter text box to filter a large list of server audits to locate the one that you want to define.
Specifies the name of the server audit. You can change the name of the server audit in this field.
Specifies the location for the audit trail. Select File, Application Log, or Security Log from the drop-down.
Specifies the status of the audit.
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
Lets you specify the following options for the server audit:
Specifies the maximum time to wait, in milliseconds, before writing audit information to disk. Enter a value in this field.
Specifies the action to take upon failure to write an audit entry. Select an action from the drop-down.
Specifies the GUID for the audit on a mirrored database. Enter the GUID in this field.
Specifies the predicate expression that helps SQL Server 2012 determine the events that must be processed. The maximum number of characters you can enter is 3000.
Lets you specify the following options for the audit file.
Note: These options are available only if the server audit type is File, as specified in the Navigation Grid.
Specifies the location of the audit file. Enter the location in this field.
Specifies the maximum size of the audit file. Enter a value in this field.
Specifies the maximum number of audit files to retain. Enter a value in this field.
Specifies the maximum number of audit files that can be created.
Specifies whether disk space must be preallocated. Select an option from the drop-down list.
The server audit is defined and the SQL Server Server Audit Editor closes.
Copyright © 2013 CA.
All rights reserved.
|
|