diff --git a/config/config.json b/config/config.json index 94fdba0..8517216 100644 --- a/config/config.json +++ b/config/config.json @@ -38,18 +38,19 @@ "max_age": "14d", "max_docs": "1000000" }, - "normal_phases": { - "warm": 60, - "cold": 180, - "delete": 365 -}, -"cooling_model_config": { - "timeDecayFactor": 0.5, - "periodGranularityFactor": 0.5, - "warmPhaseMultiplier": 1.0, - "coldPhaseMultiplier": 2.0, - "deletePhaseMultiplier": 3.0 -} + "normal_phases": { + "warm": 60, + "cold": 180, + "delete": 365 + }, + "cooling_model_config": { + "timeDecayFactor": 0.5, // Controls logarithmic growth rate + "baseRetention": 300.0, // Base retention multiplier + "periodGranularityFactor": 7, // Exponent for period scaling + "warmPhaseMultiplier": 10.0, // Kept for compatibility + "coldPhaseMultiplier": 20.0, // Kept for compatibility + "deletePhaseMultiplier": 40.0, // Kept for compatibility + } }, "ma": { "index_pattern": "logstash-%s.ma.*.%d-%02d",