Below is my ISM Policy
{
"id": "filebeat",
"seqNo": 0,
"primaryTerm": 1,
"policy": {
"policy_id": "filebeat",
"description": "Filebeat Index Lifecycle Policy",
"last_updated_time": 1648561873438,
"schema_version": 12,
"error_notification": null,
"default_state": "hot",
"states": [
{
"name": "hot",
"actions": [
{
"replica_count": {
"number_of_replicas": 1
}
}
],
"transitions": [
{
"state_name": "snapshot",
"conditions": {
"min_index_age": "1d"
}
}
]
},
{
"name": "snapshot",
"actions": [
{
"snapshot": {
"repository": "s3-repository",
"snapshot": "filebeat-logs"
}
}
],
"transitions": [
{
"state_name": "delete",
"conditions": {
"min_index_age": "90d"
}
}
]
},
{
"name": "delete",
"actions": [
{
"delete": {}
}
],
"transitions": []
}
],
"ism_template": [
{
"index_patterns": [
"filebeat-*"
],
"priority": 100,
"last_updated_time": 1648561873438
}
]
}
}
I have indices which are way older than 90days,
GET _opendistro/_ism/explain/filebeat-7.11.1-2021.11.03
{
"filebeat-7.11.1-2021.11.03" : {
"index.opendistro.index_state_management.policy_id" : "filebeat",
"index.plugins.index_state_management.policy_id" : "filebeat",
"index" : "filebeat-7.11.1-2021.11.03",
"index_uuid" : "FouOJnaMQtWF_b1dBj3TuQ",
"policy_id" : "filebeat",
"policy_seq_no" : -2,
"policy_primary_term" : 0,
"state" : {
"name" : "snapshot",
"start_time" : 1654410373176
},
"action" : {
"name" : "transition",
"start_time" : 1654410930220,
"index" : -1,
"failed" : false,
"consumed_retries" : 0,
"last_retry_time" : 0
},
"step" : {
"name" : "attempt_transition",
"start_time" : 1654410930565,
"step_status" : "condition_not_met"
},
"retry_info" : {
"failed" : false,
"consumed_retries" : 0
},
"info" : {
"message" : "Evaluating transition conditions [index=filebeat-7.11.1-2021.11.03]"
}
}
}
Why does it say the condition is not met ?