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

Incorrect Information in the NOTE on Loki's Stream-Based Retention Documentation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Logging 5.8
    • Logging
    • 0
    • False
    • Hide

      None

      Show
      None
    • False

      As indicated in this JIRA entry, since Logging version 5.6, the Lokistack compactor has been equipped with a function to delete chunk data past its retention period in object storage.
       

      Retention in Loki has always been global for a cluster and deferred to the underlying object store. Since version 2.3.0, Loki can handle retention through the Compactor component.

       
      Therefore, it has become possible to set the log retention period on the Loki side without configuring TTL settings on the object storage side. However, the following note is included in the documentation for Loki's stream-based retention:
       
       

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

       
       
      Is this explanation accurate? The note seems to suggest that the retention period settings are exclusively managed by the object storage, not by Loki, which could be misleading and inconsistent with the actual functionality.

              landerso@redhat.com Libby Anderson
              rhn-support-mmatsuta Masafumi Matsuta
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: