Skip to content

Replay: bulk delete replays from the Replay List page #42551

Closed

Description

@bruno-garcia

Problem Statement

Users want to be able to keep only replays for 48 hours.

48h is a compliance requirement for us due to RGPD policy.
We need all text, media and user input. But we only need them for 48h.

Solution Brainstorm

Allow bulk delete of selected replays (where filter would be the replay time).

Activity

  1. GuillaumeCisco commented on Dec 21, 2022

    @GuillaumeCisco

    Also adding the possibility to automatically delete replays older than x times from the settings :)

  2. changed the title [-]Replay: Bulk delete replays based on filter[/-] [+]Replay: Change retention for replay objects[/+] on Feb 1, 2023
  3. changed the title [-]Replay: Change retention for replay objects[/-] [+]Replay: Change retention for replay objects AND/OR bulk delete replays from the Replay List page[/+] on Feb 1, 2023
  4. bruno-garcia commented on Feb 7, 2024

    @bruno-garcia
    MemberAuthor

    Also adding the possibility to automatically delete replays older than x times from the settings :)

    That's something we offer to enterprise orgs because it requires operations to change configuration so some work involved. We don't have plans to offer a setting in the product for this at the moment

  5. GuillaumeCisco commented on Feb 8, 2024

    @GuillaumeCisco

    Also adding the possibility to automatically delete replays older than x times from the settings :)

    That's something we offer to enterprise orgs because it requires operations to change configuration so some work involved. We don't have plans to offer a setting in the product for this at the moment

    I have an entreprise org account and I have never been contacted for that despite all my emails...

  6. moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Feb 8, 2024
  7. 17 remaining items

  8. self-assigned this
    on Jul 21, 2025
  9. ryan953 commented on Jul 21, 2025

    @ryan953
    Member

    This is rolling out to all orgs!

    We've added checkboxes to the replay list page where you can select replays individually, or if you're doing a query for lots of then you can select everything matching the query.
    It's an async process to delete the records and it does take some time depending on how many replays need to be removed, and how many segments the replays contain. Replays with a longer duration, or with lots of activity inside will take more time to delete.

    As the async job is running, we keep searching for replays that match the delete criteria until all records are removed. So if new records are still coming in while the job is running, they will be found and deleted. What remains is a stub record that shows "Deleted Replay", the ID of the replay, and the timestamp when the replay was originally started. We keep an audit log of delete tasks inside the Project Settings > Replay page.

  10. bruno-garcia commented on Jul 24, 2025

    @bruno-garcia
    MemberAuthor

    Reopening as we need a bit more time before rolling this out to all orgs but this is super close now

  11. locked and limited conversation to collaborators on Aug 28, 2025
  12. ryan953 commented on Sep 9, 2025

    @ryan953
    Member

    I wanted to follow up on this and make sure that anyone reading has a link to the docs: https://docs.sentry.io/product/explore/session-replay/replay-page-and-filters/#deleting-replays

    This has rolled out to all orgs. Everyone is able to self-serve and trigger their own deletes of either:

    • Individual replays
    • any replay matching a search query & specified date range

    Using the buttons in the UI is thorough and results in complete deletion of any PII data, metadata, caches and so on. It does take a little while to run if the search query returns many results.

    The only data that remains in the end is:

    • is the replay id (which is a random uuid, generated by the sdk when the replay was first created)
    • and the timestamp of when the replay recording started
      These two fields are preserved for auditing purposes, so you can see that something was deleted, and over timeframe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions