Class DataStreamGlobalRetentionSettings

java.lang.Object
org.elasticsearch.cluster.metadata.DataStreamGlobalRetentionSettings

public class DataStreamGlobalRetentionSettings extends Object
This class holds the data stream global retention settings. It defines, validates and monitors the settings.

The global retention settings apply to non-system data streams that are managed by the data stream lifecycle. They consist of: - The default retention which applies to data streams that do not have a retention defined. - The max retention which applies to all data streams that do not have retention or their retention has exceeded this value.

  • Field Details

    • MIN_RETENTION_VALUE

      public static final TimeValue MIN_RETENTION_VALUE
    • DATA_STREAMS_DEFAULT_RETENTION_SETTING

      public static final Setting<TimeValue> DATA_STREAMS_DEFAULT_RETENTION_SETTING
    • DATA_STREAMS_MAX_RETENTION_SETTING

      public static final Setting<TimeValue> DATA_STREAMS_MAX_RETENTION_SETTING
  • Method Details