Will the [syslog] and [sys_audit_delete] tables be clean up by Service Now OOTB function?

winniechim
Kilo Contributor

We have a concern that, will the System Log table [syslog] and Deleted Records table [sys_audit_delete] be clean up by Service Now periodically, or will these two tables keep growth?

1 ACCEPTED SOLUTION

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

Hi Winnie,



Syslog table should be cleaned automatically as an out of box functionality, but you can check yourself as admin user by going to "System Definition -> Table Rotations -> syslog". By default table has 8 rotations storing 7 days of data each (56 days in total).



Deleted Record (sys_audit_delete) doesn't gets cleaned automatically, as if we would do that, you would lose track of deleted records. In some situations we do a manual cleanup of this table (for example large quantity of deleted records in this table due to discovery), but this is only done based on an assessment done by ServiceNow support team.



Hope this answers your question, if you have other questions, let me know.



Regards,


Sergiu


View solution in original post

2 REPLIES 2

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

Hi Winnie,



Syslog table should be cleaned automatically as an out of box functionality, but you can check yourself as admin user by going to "System Definition -> Table Rotations -> syslog". By default table has 8 rotations storing 7 days of data each (56 days in total).



Deleted Record (sys_audit_delete) doesn't gets cleaned automatically, as if we would do that, you would lose track of deleted records. In some situations we do a manual cleanup of this table (for example large quantity of deleted records in this table due to discovery), but this is only done based on an assessment done by ServiceNow support team.



Hope this answers your question, if you have other questions, let me know.



Regards,


Sergiu


Hi Sergiu,



Thanks for your information, it does help a lot!



Regards,


Winnie