Skip to content

Commit

Permalink
docs: add URL to Log entry deletion page (backport release-3.3.x) (#1…
Browse files Browse the repository at this point in the history
…5461)

Co-authored-by: sarah-spang <[email protected]>
  • Loading branch information
loki-gh-app[bot] and sarah-spang authored Dec 17, 2024
1 parent 6eca162 commit 61232a1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/sources/operations/storage/retention.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,20 +211,16 @@ policy set correctly. For more details check
or
[GCS's documentation](https://cloud.google.com/storage/docs/managing-lifecycles).

The retention policy for Table manager can only be set globally.
Per-tenant and per-stream retention policies along with support for deleting
ingested logs using an API are only supported by Compactor retention.

Since a design goal of Loki is to make storing logs cheap, a volume-based
deletion API is deprioritized. Until this feature is released, if you suddenly
must delete ingested logs, you can delete old chunks in your object store. Note,
If you must delete ingested logs, you can delete old chunks in your object store. Note,
however, that this only deletes the log content and keeps the label index
intact; you will still be able to see related labels but will be unable to
retrieve the deleted log content.

For further details on the Table Manager internals, refer to the
[Table Manager](https://grafana.com/docs/loki/<LOKI_VERSION>/operations/storage/table-manager/) documentation.

Alternatively, if the BoltDB Shipper is configured for the index store, you can enable [Log entry deletion](https://grafana.com/docs/loki/<LOKI_VERSION>/operations/storage/logs-deletion/) to delete log entries from a specific stream.


## Example Configuration

Expand Down

0 comments on commit 61232a1

Please sign in to comment.