美文网首页
loki log retention

loki log retention

作者: allenhaozi | 来源:发表于2024-05-07 23:15 被阅读0次

    method 1

    schema_config:
      configs:
        - from: 2020-10-24
          store: boltdb-shipper
          object_store: filesystem
          schema: v11
          index:
            prefix: index_
            period: 24h
    
    table_manager:
      retention_deletes_enabled: true
      retention_period: 24h
    

    method 2

    limits_config:
      retention_period: 168h
    
    compactor:
      working_directory: /data/retention
      compaction_interval: 10m
      retention_enabled: true
      retention_delete_delay: 2h
      retention_delete_worker_count: 150
    
    schema_config:
      configs:
        - from: 2020-10-24
          store: boltdb-shipper
          object_store: filesystem
          schema: v11
          index:
            prefix: index_
            period: 24h
    

    method 3

    compactor:
      retention_enabled: true
    limits_config:
      retention_period: 90d
    

    相关文章

      网友评论

          本文标题:loki log retention

          本文链接:https://www.haomeiwen.com/subject/qjedfjtx.html