grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.7k stars 3.42k forks source link

Documentation about deleting logs / retention should be reworked #7742

Open michaelkebe opened 1 year ago

michaelkebe commented 1 year ago

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.

GrafanaWriter commented 1 year ago

@JStickler - can you please review as part of your review of the Loki docs?

max-wets commented 1 year ago

Hi! Any update about this in the current state of Loki documentation?

JStickler commented 1 year ago

@max-wets While we do have a cluster of three issues around the documentation for retention, currently updating the installation and getting started documentation is a higher priority.