Skip to content

Loki stopped deleting old logs

When investigating high disk usage, I stumbled upon lots of old Loki chunks:

This Loki upgrade procedure documentation suggests replacing the now-defunct table manager with the new compactor:

compactor:
  retention_enabled: true
limits_config:
  retention_period: [30d]