Retention Policy

이 제품은 선택한 Datadog 사이트에서 지원되지 않습니다. ().
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.
CloudPrem is in Preview

Join the CloudPrem Preview to access new self-hosted log management features.

Request Access

The retention policy specifies how long data is stored before being deleted. By default, the retention period is set to 30 days. Data is automatically removed daily by the janitor, which deletes splits (index files) older than the defined retention threshold.

To change the retention period, update the cloudprem.index.retention parameter in the Helm chart values file, then upgrade the Helm release and optionally restart the janitor pod to apply the changes immediately:

  1. Update the retention period in the Helm chart values file with a human-readable string (for example, 15 days, 6 months, or 3 years):

    datadog-values.yaml

    cloudprem:
      index:
        retention: 6 months

  2. Upgrade the Helm chart release:

    helm upgrade <RELEASE_NAME> datadog/cloudprem \
      -n <NAMESPACE_NAME> \
      -f datadog-values.yaml
    
  3. Restart the janitor pod (optional but recommended for immediate effect):

    kubectl delete pod -l app.kubernetes.io/component=janitor -n <NAMESPACE_NAME>