We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e57dfd commit 5b6badcCopy full SHA for 5b6badc
logging/conf/loki-config.yml
@@ -42,16 +42,21 @@ storage_config:
42
compactor:
43
working_directory: /loki/boltdb-shipper-compactor
44
shared_store: filesystem
45
+ retention_enabled: true
46
+ retention_delete_delay: 2h
47
+ retention_delete_worker_count: 150
48
+ delete_request_cancel_period: 5m
49
50
limits_config:
51
reject_old_samples: true
52
reject_old_samples_max_age: 168h
53
+ retention_period: 720h # Retain logs for 30 days
54
55
chunk_store_config:
56
max_look_back_period: 0s
57
58
table_manager:
- retention_deletes_enabled: false
59
+ retention_deletes_enabled: false # Not used with boltdb-shipper
60
retention_period: 0s
61
62
ruler:
0 commit comments