Skip to content

Commit fe84610

Browse files
committed
monitoring/loki: only keep logs for 28 days
1 parent ff1140d commit fe84610

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

monitoring/loki/files/loki.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ storage_config:
5252
filesystem:
5353
directory: /data/loki/chunks
5454
chunk_store_config:
55-
max_look_back_period: 0s
55+
max_look_back_period: 672h
5656
table_manager:
57-
retention_deletes_enabled: false
58-
retention_period: 0s
57+
retention_deletes_enabled: true
58+
retention_period: 672h
5959
compactor:
6060
working_directory: /data/loki/boltdb-shipper-compactor
6161
shared_store: filesystem

0 commit comments

Comments
 (0)