Delete a Repository or View
Security Requirements and Controls
You are able to both delete and restore Repositories and Views, given that you have the right permissions and that LogScale is configured properly.
Users or tokens who have one of the following privileges or permissions can delete repositories and views:
Deleting a Repository or View
From the Danger zone.tab of a repository, navigate to
Figure 33. Repository Danger Zone
Click: a dialog warns you that the repository must have had no ingest for at least 24 hours. If the repository fulfills this condition, you can click .
Figure 34. Delete Repository Dialog
You will be prompted to provide:
Repository name is the name of the repository. Required.
Audit log message is the reason for deleting the repository. This message will appear in the deletion audit log event. Optional.
Figure 35. Audit log
If restoring repositories and views is possible, you will be redirected to the
Deleted repositories and viewspage under Organization settings. If restoring is not possible, you will be redirected to the home page.
Figure 36. Deleted Repositories and Views Page
Restoring a Repository or View
If Bucket Storage is configured, the deleted repositories or views will be restorable:
For LogScale Cloud: 7 days
For Self-hosted installations: 7 days by default, configurable through the
To restore a repository or view:
Navigate to Organization Settings →
Deleted repositories and viewspage. If you don't see this page, restoring is not possible either due to bucket storage not being configured, or due to lacking permissions.
In the table, find the repository/view that you want to restore.
Click the three-dot menu icon on the far right column.
Click The repository will reappear for everyone who had permissions to view it before its deletion.
Figure 37. Restoring Repositories and Views