Hello everyone,
I am having trouble configuring loki with GCS and retention.
here is an extract of my conf :
deploymentMode: SimpleScalable
loki:
schemaConfig:
configs:
- from: "2024-08-19"
store: tsdb
index:
prefix: loki_index_
period: 24h
object_store: gcs
schema: v13
storage:
type: 'gcs'
bucketNames:
chunks: mybasebucket_loki-chunks
ruler: mybasebucket_loki-ruler
# admin: mybasebucket_loki-admin
filesystem:
directory: /data/loki/chunks
limits_config:
retention_period: 5d
compactor:
working_directory: /data/retention
compaction_interval: 10m
retention_enabled: true
retention_delete_delay: 2h
retention_delete_worker_count: 150
delete_request_store: gcs
but my log history never gets deletede and when I look in my chunk bucket, files never get deleted neither.
what am I doing wrong ?
can you advise ?
thanks