We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 878ee49 commit 67e2c01Copy full SHA for 67e2c01
1 file changed
Grafana/Loki/Config/loki-local-config.yaml
@@ -27,6 +27,11 @@ query_range:
27
max_size_mb: 100
28
parallelise_shardable_queries: false
29
30
+compactor:
31
+ retention_enabled: true
32
+ delete_request_store: filesystem
33
+ working_directory: /data/retention
34
+
35
schema_config:
36
configs:
37
- from: 2020-10-24
@@ -47,6 +52,7 @@ limits_config:
47
52
max_query_length: 0h # Controls max time range for queries. Default is 721h.
48
53
split_queries_by_interval: 24h
49
54
query_timeout: 10m # To avoid Grafana timeouts when frontend parallelism is lowered.
55
+ retention_period: 8760h # Length of time to retain Loki logs for. Default is 8760h (12 months)
50
56
51
57
querier:
58
max_concurrent: 4
0 commit comments