Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-784

Clarify the details on how to set retention for LokiStorage

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Critical

      As per the logs we documented about enabling stream based retention but there is no clarity on how to set retention period to clear the logs from object storage.

      We need to add the note in the doc to make customer aware that logs retention for object bucket should be configured on storage provider side

      For cost-efficient logs pruning, it is recommended to set global retention on the object storage provider side. Pruning older logs is a cost free task provided by the storage provided & omits Loki's resource to be bound to the task of pruning logs.

      Ref KCS https://access.redhat.com/solutions/7053212

      Second issue: "Retention Period of 30 days"

      It's needed to remove the incorrect sentence:

      This is not for managing the retention for stored logs. Global retention periods for stored logs to a supported maximum of 30 days is configured with your object storage.

      As in a documentation bug was requested to clarify the previous sentence and it was added the sentence below, but forgetting to remove the previous:

      If there is no retention period defined on the s3 bucket or in the LokiStack custom resource (CR), then the logs are not pruned and they stay in the s3 bucket forever, which might fill up the s3 storage.

              landerso@redhat.com Libby Anderson
              rhn-support-ssonigra Sonigra Saurab
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: