Defining retention for logs in LokiStack on RHOCP 4
Issue
- As per enabling stream-based retention with Loki, it is recommended to define
retentionperiod underspec.limits.global.retentionfor global retention andspec.limits.tenants.[tenant_name].retentionfor tenant based retention (application,infrastructure,audit). How does this prune data from the object storage bucket? - Is there any other alternative way to set
retentionfor logs storage in object storage bucket? - We would like assistance deleting old logs stored in Loki
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Red Hat OpenShift Logging (RHOL)
- 5
- 6
- LokiStack
- Loki
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.