Skip to content

Commit

Permalink
update deletion docs (#6869)
Browse files Browse the repository at this point in the history
* update deletion docs
Signed-off-by: Owen Diehl <ow.diehl@gmail.com>

* Update docs/sources/operations/storage/logs-deletion.md
  • Loading branch information
owen-d authored Aug 10, 2022
1 parent 7c680e4 commit b114dc9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions docs/sources/configuration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2384,10 +2384,6 @@ The `limits_config` block configures global and per-tenant limits in Loki.
# This also determines how cache keys are chosen when result caching is enabled
# CLI flag: -querier.split-queries-by-interval
[split_queries_by_interval: <duration> | default = 30m]

# When true, access to the deletion API is enabled.
# CLI flag: -compactor.allow_deletes
[allow_deletes: <boolean> | default = false]
```
## sigv4_config
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/operations/storage/logs-deletion.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ With `filter-and-delete`, log lines matching the query in the delete request are

A delete request may be canceled within a configurable cancellation period. Set the `delete_request_cancel_period` in the compactor's YAML configuration or on the command line when invoking Loki. Its default value is 24h.

Access to the deletion API can be enabled per tenant via the `allow_deletes` setting.
As long as the `compactor.retention_enabled` setting is `true`, the API endpoints will be available. Afterwards, access to the deletion API can be enabled per tenant via the `deletion_mode` tenant override.

0 comments on commit b114dc9

Please sign in to comment.