it is not recommended to delete records on "sys_audit" table , i want to delete the old logs of some attributes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2022 05:28 AM
it is not recommended to delete records on "sys_audit" table ?, i want to delete the old logs of some attributes.
what happens if i run the background script or fix script to perform this operation
Thank you,
Shabbir
- Labels:
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2022 05:37 AM
Hi,
what's your exact requirement?
Why to delete records from sys_audit? It might help in auditing in later stage.
check this
Demystifying table rotation, extension, and table cleaner
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2022 05:55 AM
HI Ankur ,
The requirement is to delete audit logs(old) of 2 attributes.
Thank you,
Shabbir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 10:47 PM
check this
Delete or Update Activity log and Journal Field Entries
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2023 01:22 PM
I was notified by ServiceNow PDI support that my PDI is too big and that I must "truncate" the database within 48 hours. The sys_audit table is the largest and contains records as old as April 22, 2015!