- ssh to the vRA VA.
- Open the file /etc/vcac/vcac.properties
Notice the new entries added there:
# Configure the scheduled job for purging event logs.
# data.purge.eventlog.cron=0 0 1 * * ?
# Configure the retention period of the event logs in days.
# Setting this property will override settings done via the event log API.
# data.eventlog.retentionPeriod=90
# Configure a collection of event target types which will be ignored and not persisted.
# Setting this property will override settings done via the event log API.
# data.eventlog.blacklistedTargetypes=
Notice that the default retention period for events is 90 days. The purge job will run at 1:00 a.m. by default and events of all target types will be persisted. There is an option to blacklist some event target types to keep them from being persisted in the database.
- Change the property values to match the environment needs.
- Restart vcac-service /etc/init.d/vcac-service restart.
The procedure will have to be done for all vRA VA nodes of an HA environment.