I have a ILM policy
template, policy, alias
{
"prod3_template" : {
"order" : 1,
"index_patterns" : [
"prod3-cloudwatch*"
],
"settings" : {
"index" : {
"lifecycle" : {
"name" : "prod3_policy",
"rollover_alias" : "prod3-cloudwatch"
},
"number_of_shards" : "1",
"number_of_replicas" : "1"
}
},
"mappings" : { },
"aliases" : { }
}
}
policy
{
"prod3_policy" : {
"version" : 3,
"modified_date" : "2020-04-19T17:32:20.186Z",
"policy" : {
"phases" : {
"hot" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_size" : "50gb",
"max_age" : "5d"
}
}
},
"delete" : {
"min_age" : "30d",
"actions" : {
"delete" : { }
}
}
}
}
}
}
My index is now 75G but has not rolled over
Here is the explain
{
"indices" : {
"prod3-cloudwatch-2020.04.18-1" : {
"index" : "prod3-cloudwatch-2020.04.18-1",
"managed" : true,
"policy" : "prod3_policy",
"lifecycle_date_millis" : 1587229446320,
"phase" : "hot",
"phase_time_millis" : 1587229447358,
"action" : "rollover",
"action_time_millis" : 1587229655594,
"step" : "check-rollover-ready",
"step_time_millis" : 1587229655594,
"phase_execution" : {
"policy" : "prod3_policy",
"phase_definition" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_size" : "50gb"
}
}
},
"version" : 2,
"modified_date_in_millis" : 1587229330842
}
}
}
}
Can u please help as to why its not rolling over