For reporting purposes, you might want to have the Service Portal Log Entries table (sp_log) store data for more than the 90-day default.

Note – Increasing the number of days stored in the log to more than the 90-day default could cause significant performance issues.

Release or Environment

All versions using Service Portal


  1. Days are stored in seconds so determine the number of seconds in the number of days you want to use.
  2. The OOB value of 90 days is 7,776,000 secs.
  3. Navigate to System Maintenance > Table Cleanup.
  4. Search for a rule with the tablename sp_log and open the record.
  5. Change Age in seconds to 31536000 (365 days in seconds).
  6. Save/submit the record.

Additional Information

Apply Table Rotation

Article Information

Last Updated:2019-11-21 23:55:38