This commit introduces a delete phase for deprecation logs. This commit also adjusts the rollover criteria such that there will always be 30-60 days worth of deprecation logs.
@@ -0,0 +1,5 @@
+pr: 82833
+summary: Adjust ILM policy for deprecation logs
+area: "Infra/Logging"
+type: enhancement
+issues: []
@@ -4,9 +4,19 @@
"actions": {
"rollover": {
"max_primary_shard_size": "10gb",
- "max_age": "14d"
+ "max_age": "30d"
}
+ },
+ "delete": {
+ "min_age": "30d",
+ "actions": {
+ "delete": {}
+ }
+ "_meta": {
+ "description": "ILM policy used for deprecation logs",
+ "managed": true