Implement threshold and/or size based retention for Loki in RHOCP 4
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Red Hat OpenShift Logging (RHOL)
- 5
- 6.0 - 6.3
- Loki
Issue
- Is it possible to implement a threshold and/or size based retention for Loki?
Resolution
Red Hat evaluated this request in RFE This content is not included.Implement threshold and/or size based retention in Loki and while it's recognized that it is a valid request, it's not expected to be implemented in the product in the foreseeable future. This is due to other priorities for the product and not a reflection of the request itself.
Root Cause
Currently, it's only possible to enable the stream retention in Loki by time. Read the article "Defining retention for logs in LokiStack in RHOCP4" for more details.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.