Sticky

Can I selectively delete or modify historical data on Amplitude?

  • 28 September 2023
  • 0 replies
  • 167 views

Userlevel 6
Badge +9

Hi Amplitude Community, 

At the moment, it is not possible to selectively delete or modify historical events. Our current architecture is based on pre-aggregated sets by the hour, day, week and month for users and events. While this allows us to scale well, a limitation is that data is immutable

That being said, we have some options for specific use cases:

  1. You can use the Export API to pull all the data from their project, sanitize the data (remove properties), and then perform a Self Backfill and use Batch API to push events into a new Amplitude project. Please note that backfilling data will increase the event volume in your org, which may incur costs. Deleting the old project will not reduce the volume.
  2. Do you want just to drop certain data? Amplitude Data's drop filters feature allows you to remove specific event data from your charts at query time. These events are not deleted, and they can be restored to your charts simply by editing or deleting the drop filter. You can read more about it here.
  3. Do you need to remove data from a couple of users? If so, you can use this API to remove the users and all of their data: https://www.docs.developers.amplitude.com/analytics/apis/user-privacy-api.
  4. For customers on the paid plans, you can explore our Data Sanitization Service (paid offering), which scrubs/removes selected data (e.g. PII) in Amplitude. 

----- please give this post a thumb-up if you find it helpful! This will help us know what content we should publish in the future :) -----

Amplitude Team

 


0 replies

Be the first to reply!

Reply