Documentation about deleting logs / retention should be reworked
#7,742 opened on Nov 22, 2022
Repository metrics
- Stars
- (28,187 stars)
- PR merge metrics
- (Avg merge 5d 20h) (522 merged PRs in 30d)
Description
I'm always frustrated when it comes to deleting logs from loki.
- The documentation is splitted across at least 4 pages.
- https://grafana.com/docs/loki/latest/operations/storage/logs-deletion/
- https://grafana.com/docs/loki/latest/configuration/#compactor
- https://grafana.com/docs/loki/latest/api/#request-log-deletion
- https://grafana.com/docs/loki/latest/operations/storage/retention/
-
After submitting a new delete request, it takes a few minutes a query could not find the logs anymore. The excact timing is not, if not poorly documented.
-
The delete request have a states
receivedandprocessed, but even if there arereceivedonly, it is not possible find them with a query (related to 2.). -
The deletion of chunks. When does is happen, where does is happen (dependency of the used storage)?
-
How does deleting logs relates to Compactor and Table Manager?
-
How does deleting logs relates to retention?
Describe the solution you'd like A clear and concise description of deleting logs, at best on a single page.