I am using ELK stack 7.4.1, I have an ILM policy set but looks like its not working. The maximum index size I set is 50GB.
GET /log-test/_ilm/explain
{
"indices" : {
"log-test-2019.10.31-000001" : {
"index" : "log-test-2019.10.31-000001",
"managed" : true,
"policy" : "log-dev",
"lifecycle_date_millis" : 1572491201040,
"age" : "3.96d",
"phase" : "hot",
"phase_time_millis" : 1572491201110,
"action" : "rollover",
"action_time_millis" : 1572491203419,
"step" : "check-rollover-ready",
"step_time_millis" : 1572491203419,
"phase_execution" : {
"policy" : "log-dev",
"phase_definition" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_size" : "50gb"
},
"set_priority" : {
"priority" : 100
}
}
},
"version" : 2,
"modified_date_in_millis" : 1572490889698
}
}
}
}
GET https://kibana:5601/api/index_management/indices
{
"health":"green",
"status":"open",
"name":"log-test-2019.10.31-000001",
"uuid":"wwsy9oZcT_mBaxBCQvhLdQ",
"primary":"1",
"replica":"1",
"documents":"188174271",
"size":"82.2gb",
"isFrozen":false,
"aliases":[
"log-test"
],
"ilm":{
"index":"log-test-2019.10.31-000001",
"managed":true,
"policy":"log-dev",
"lifecycle_date_millis":1572491201040,
"age":"3.97d",
"phase":"hot",
"phase_time_millis":1572491201110,
"action":"rollover",
"action_time_millis":1572491203419,
"step":"check-rollover-ready",
"step_time_millis":1572491203419,
"phase_execution":{
"policy":"log-dev",
"phase_definition":{
"min_age":"0ms",
"actions":{
"rollover":{
"max_size":"50gb"
},
"set_priority":{
"priority":100
}
}
},
"version":2,
"modified_date_in_millis":1572490889698
}
},
"isRollupIndex":false,
"isFollowerIndex":false
}