From d5875bdfc52061334b56b1dfc78ecd6eaa3e0544 Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Mon, 13 Jul 2026 13:06:28 +0200 Subject: [PATCH] Update retention and compactor to free space --- config/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/config.yml b/config/config.yml index 6ab9ad9..da58fdb 100644 --- a/config/config.yml +++ b/config/config.yml @@ -22,6 +22,9 @@ schema_config: period: 24h storage_config: + tsdb_shipper: + active_index_directory: /loki/index + cache_location: /loki/cache filesystem: directory: /loki/chunks @@ -35,3 +38,8 @@ limits_config: ingestion_burst_size_mb: 20 max_global_streams_per_user: 0 volume_enabled: true + +compactor: + working_directory: /loki/compactor + retention_enabled: true + retention_period: 720h # 30 jours