Increase Data Protection by Deleting Event Log Files

To help you comply with data protection regulations, you can delete event log files. Deleting event log file data can help you meet regulatory obligations such as Right to Erasure.
Available in: Enterprise, Performance, Unlimited, and Developer Editions

The following data protection and privacy regulations require keeping individuals’ personal data secure and private. These are some of the regulations that are important to many companies that collect and process customer data.
  • General Data Protection Regulation (GDPR), European Union
  • Personal Information Protection Act (PIPA), Japan
  • Personal Information Protection and Electronics Documents Act (PIPEDA), Canada
  • Federal Rules of Civil Procedure, United States
To give a user permission to delete event log files, you must enable a setting in Event Monitoring Setup to make the Delete Event Monitoring Records user permission available. Assign the user permission to a permission set. Then assign the permission set to the profile of the users you want to allow to delete event log files (for example, admins in charge of compliance). Using the REST or SOAP API, you can delete the event log file containing the user activity you want to remove. For details, see the delete documentation below.
Note

Note

You can’t delete individual rows from event logs. Because event logs are stored in blob format in the database, you must delete the entire log file that contains the user activity.