Netwrix recommends that you proactively manage your audit data and log files by considering the recommendations below.
Note: if you are going to follow the instruction below, keep in mind that you may lose some important audit data.
To configure Audit Database retention settings, do the following depending on your Netwrix Auditor version.
- Launch Netwrix Auditor.
- For Netwrix Auditor 7.0: navigate to Managed Objects -> <your_Managed_Object_name> -> Event Log -> AuditIntelligence Settings.
- For Netwrix Auditor 7.1 – 8.5: navigate to Managed Objects -> <your_Managed_Object_name> – Event Log -> Audit Database Settings
- Click Modify next to Database Retention and type in a retention period in days.
Note: the longer period you specify, the larger your Audit Database size is.
Note: if you are using SQL Server Express edition to save your audit data and once you notice that your database size grows and approaches to 10 GB, delete and re-create your Audit Database.
- Start SQL Management Studio and navigate to <Your_SQL_Server_name> -> Databases and select the database you are going to delete.
- Delete backup and restore history information for databases.
- Close existing connections.
The Audit Database has been successfully removed.
To rebuild the Audit Database, do the following:
- Depending on your Netwrix Auditor version, navigate to one of the following locations:
- For Netwrix Auditor 7.0: in Netwrix Auditor Administrator Console, navigate to Settings -> AuditIntelligence.
- For Netwrix Auditor 7.1 – 8.5: in Netwrix Auditor Administrator Console, navigate to AuditArchive -> Audit Database.
- Click Modify next to Default SQL Server settings. The following window appears:
- Click Yes to create a new Audit Database.
- Once the Audit Database has been rebuilt the following dialog window will be displayed:
- Refresh or re-open the SQL Management Studio and make sure that the Audit Database was re-built.
In order to correctly set the retention period, you need to estimate your Audit Database growth.
- Start the SQL Management Studio and locate the required database.
- Right-click it and select Properties.
- Review the Size and Space Available parameters.
Now the audit data becomes available for reporting in Netwrix Auditor.