Hi all, would like to ask if there’s a way to flush logs after meeting specific day/s, weeks or month/s? eg. After 1 month
Thanks!
Hi all, would like to ask if there’s a way to flush logs after meeting specific day/s, weeks or month/s? eg. After 1 month
Thanks!
See below details, update as below and you will have 744 hour of retention.
compactor:
working_directory: /tmp/loki/boltdb-shipper-compactor
shared_store: filesystem
compaction_interval: 10m
retention_enabled: true
retention_delete_delay: 2h
retention_delete_worker_count: 150
limits_config:
retention_period: 744h
reject_old_samples: true
reject_old_samples_max_age: 168h
ingestion_rate_mb: 100
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.