Set a retention perriod for logs

This commit is contained in:
Nikolai Rodionov 2023-06-27 00:43:04 +02:00
parent cd506cd969
commit f29e5af719
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -5,3 +5,7 @@ loki:
auth_enabled: false auth_enabled: false
commonConfig: commonConfig:
replication_factor: 1 replication_factor: 1
compactor:
retention_enabled: true
limits_config:
retention_period: 2d