Skip to content

Commit

Permalink
Only retain loki logs for 14d
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Nov 16, 2024
1 parent 5a70970 commit accc94d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kubernetes/namespaces/loki/loki_values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ loki:
retention_period: 30d
# Enable volume querying endpoint (for Grafana Explore Logs)
volume_enabled: true
retention_stream:
- selector: '{app_container="/loki"}'
priority: 1
period: 14d

singleBinary:
# Set replicas to 3 again
Expand Down

0 comments on commit accc94d

Please sign in to comment.