I have recently enabled ILM policy per documentation and it is working according to the policies and indexes created at the time of implementation.
However, if I make a change (in this case to the max_size attribute) through the user interface in Kibana, the changes never take effect.
For example I have modified the following policy which shows the change to 1mb max_size and the version number increment:
{
"kemp_ilm_policy" : {
"version" : 2,
"modified_date" : "2019-10-25T19:31:13.848Z",
"policy" : {
"phases" : {
"hot" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_size" : "1mb"
}
}
},
"delete" : {
"min_age" : "30d",
"actions" : {
"delete" : { }
}
But the index itself shows the old policy version and associated max_size value
{
"indices" : {
"kemp-000001" : {
"index" : "kemp-000001",
"managed" : true,
"policy" : "kemp_ilm_policy",
"lifecycle_date_millis" : 1571863064866,
"phase" : "hot",
"phase_time_millis" : 1571863065016,
"action" : "rollover",
"action_time_millis" : 1571863600699,
"step" : "check-rollover-ready",
"step_time_millis" : 1571863600699,
"phase_execution" : {
"policy" : "kemp_ilm_policy",
"phase_definition" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_size" : "1gb"
}
}
},
"version" : 1,
"modified_date_in_millis" : 1571863042457
What am I missing?