grafana/loki

Documentation about deleting logs / retention should be reworked

Open

#7,742 opened on Nov 22, 2022

View on GitHub
 (3 comments) (20 reactions) (1 assignee)Go (3,997 forks)batch import
help wantedtype/docs

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.

  1. The documentation is splitted across at least 4 pages.
  1. 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.

  2. The delete request have a states received and processed, but even if there are received only, it is not possible find them with a query (related to 2.).

  3. The deletion of chunks. When does is happen, where does is happen (dependency of the used storage)?

  4. How does deleting logs relates to Compactor and Table Manager?

  5. 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.

Contributor guide