How to reduce the size of SSC event logs

  • KM03644926
  • 26-May-2020
  • 26-May-2020

Summary

Information on how to reduce the size of SSC event logs

Question

The SSC event log can grow very large if SSC is configured usuing the default setting which is to keep all events.

eg Administration -> Configuration -> Schedular -> Events maintenance

where "Days to preserve" is set to default 0 (where 0 = no clean up)

Answer

To reduce the size of SSC event logs, update "Days to preserve" to clear the event log after X amount of days has passed.

eg Administration -> Configuration -> Schedular -> Events maintenance -> "Days to preserve"  (default value 0 = no clean up)

Please be aware that making this update will truncate the eventlog table in SSC's database after the specified day(s) has been reached. There is no way recover this info unless full and incremental database backup is performed. After making the update SSC needs to be restarted for the changes to take effect.

The following line will be written in the ssc_audit.log to show what newly updated "Days to preserve". In this example the "Days to preserve" was set to 1 day.

eg

2020-05-26 14:18:30,922   - admin;SSC_CONFIGURATION_UPDATED;Configuration property: Number of days after which old events will be removed by automatic clean up (zero = no clean up),Value: 1

 

The countdown to reset SSC event log starts after SSC has been restarted.