You Can Now Delete Log Explorer Datasets Yourself!
Hi, it's Shii! Today I'm sharing some news I found on the Cloudflare Changelog. It might look small, but it solves a problem plenty of people probably ran into: you can now actually delete datasets. Let's take a look!
Cloudflare ChangelogWhat was announced?
According to the Cloudflare Changelog, Log Explorer users can now permanently delete account-level and zone-level datasets from either the dashboard or the API. Deletion protection is enabled by default so you don't accidentally lose data, which is a nice touch.
The story so far
Until now, Log Explorer didn't offer a way to delete a dataset once you'd created it. The fact that this announcement is literally about "now you can delete them" tells us that unwanted datasets used to just stick around with no way to clean them up.
What changes
From now on, you can properly clean up datasets you no longer need or created by mistake, on your own. It works both from the dashboard and via the API, so it should be easy to fold into your everyday operations.
Dive Deep
The deletion steps are laid out for both the dashboard and the API.
From the dashboard:
- Go to "Manage datasets"
- Disable deletion protection for the target dataset
- Select "Delete"
- Type the dataset name to confirm
From the API, first set deletion_protection to false with the Update method, then call the Delete method.
A few things worth remembering:
- Deletion is irreversible — there's no undo
- Deletion runs asynchronously
- You can't recreate a dataset with the same name while deletion is still in progress
Wrap-up
- Log Explorer account- and zone-level datasets can now be permanently deleted from both the dashboard and the API
- Deletion protection is enabled by default to prevent accidental deletion
- Deletion is irreversible and asynchronous, and you can't recreate a same-named dataset while it's in progress
If you've been using Log Explorer and thinking "I really wish I could just delete that dataset," this update is for you!