Grafana loki log deletion problem using docker-compose with boltdb-shipper

After deploying Grafana loki in my local machine using docker-compose, The Grafana Loki doesn’t delete the old logs even if we set the retention period.
First I tried to use table manager but it doesn’t work as expected.

table_manager:
  retention_deletes_enabled: true
  retention_period: 72h

Then used a compactor which also doesn't delete the old logs.

schema_config:
  configs:
    - from: 2020-10-24
      store: boltdb-shipper
      object_store: filesystem
      schema: v11
      index:
        prefix: index_
        period: 24h
compactor:
  retention_enabled: true
limits_config:
  retention_period: 72h

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.