Hello,
I have one question regarding Index Lifecycle Managment.
My lifecycle policy looks like this:
Policy Details
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_age": "1d"
},
"set_priority": {
"priority": 100
}
}
},
"warm": {
"min_age": "0ms",
"actions": {
"allocate": {
"number_of_replicas": 0,
"include": {},
"exclude": {},
"require": {
"box_type": "warm"
}
},
"forcemerge": {
"max_num_segments": 1
},
"set_priority": {
"priority": 50
}
}
},
"cold": {
"min_age": "1d",
"actions": {
"allocate": {
"number_of_replicas": 0,
"include": {},
"exclude": {},
"require": {
"box_type": "cold"
}
},
"set_priority": {
"priority": 0
}
}
}
}
}
}
Everything seems to be working properly, however last phase - cold - is called 'completed'.
Response from the Explain policy request:
{
"indices": {
"shrink-interceptor-logs-dev-2019.03.29-000001": {
"index": "shrink-interceptor-logs-dev-2019.03.29-000001",
"managed": true,
"policy": "interceptor-logs-policy",
"lifecycle_date_millis": 1553949278516,
--> "phase": "completed",
"phase_time_millis": 1554035708556,
"action": "completed",
"action_time_millis": 1554035708556,
"step": "completed",
"step_time_millis": 1554035708556,
"phase_execution": {
"policy": "interceptor-logs-policy",
"version": 2,
"modified_date_in_millis": 1553870419803
}
}
}
}
My question: is it working as it should be?
I didnt find anything about differend name of the cold phase in the documentation.
It is not big deal, however index managment view in the Kibana is not working properly in that case: it is not possible to filter out indicies only in the cold phase.