The data in the audit database is configured to be purged automatically after the event reaches its expiration date, based on the Days to Keep value set for that type of event. If you want to change the time when this purging operation occurs, how long it runs, or on which server it runs, you can use the Audit Purge Schedule. The Audit Purge Schedule enables you to configure the schedule to delete historical audit data from the database. All audit events that have expired (exceeded the Days to Keep configured value) will be purged. This setting is available only at the zone level. The default schedule will purge the data every Saturday at 1:00 a.m.
To change the schedule for purging audit events:
Log in to ZENworks Control Center.
Click Configuration.
The Configuration tab is displayed.
In the Management Zone Settings section, click Audit Management.
Click Audit Purge Schedule.
In the Schedule Type field, select the Recurring schedule:
Days of the Week: This schedule lets you specify the days during the week that you want the event to run. The event is run on these days each week.
Select Days of the Week, then fill in the following fields:
Sun ... Sat: Specifies the days of the week you want to run the event.
Start Time: Specifies the time you want to run the event.
Monthly This schedule lets you specify one or more days during the month to run the event.
Select Monthly, then fill in the following fields:
Day of the Month: Specifies the day of the month to run the event. Valid entries are 1 through 31. If you specify 29, 30, or 31 and a month does not have those days, the event is not run that month.
Last Day of the Month: Runs the event on the last day of the month, regardless of its date (28, 30, or 31).
First Sunday: Specifies a specific day of the week. For example, the first Monday or the third Tuesday. Click to add multiple days.
Start Time: Specifies the time you want to run the event.
Fixed Interval: This schedule lets you specify an interval between days to run the event. For example, you can run the event every 14 days.
Select Fixed Interval, then fill in the following fields:
Months, Weeks, Days, Hours, Minutes: Specifies the interval between times when the event is run. You can use any combination of months, weeks, days, hours, and minutes. For example, both 7 days, 8 hours and 1 week, 8 hours provide the same schedule.
Start Date: Specifies the initial start date for the interval.
Start Time: Specifies the initial start time for the interval.
Select Duration of the job in hours / run to specify the total duration in number of hours, per run, for the purging process.
In the Dedicated Server to run Audit Purge field, browse and select a Primary Server, then click OK. Audit Purge takes place on the chosen Primary Server. If you do not select a server, then purging takes place on any server.
Click OK to save your settings.