As asked please find below
{
"policies" : [
{
"_id" : "ism_policy_opensearch_prim630-uat",
"_seq_no" : 121144,
"_primary_term" : 1988,
"policy" : {
"policy_id" : "ism_policy_opensearch_prim630-uat",
"description" : "Move indexes between storage tiers",
"last_updated_time" : 1720690088603,
"schema_version" : 16,
"error_notification" : null,
"default_state" : "hot",
"states" : [
{
"name" : "hot",
"actions" : [ ],
"transitions" : [
{
"state_name" : "warm",
"conditions" : {
"min_index_age" : "2d"
}
}
]
},
{
"name" : "warm",
"actions" : [
{
"retry" : {
"count" : 5,
"backoff" : "exponential",
"delay" : "1h"
},
"warm_migration" : { }
}
],
"transitions" : [
{
"state_name" : "cold",
"conditions" : {
"min_index_age" : "3d"
}
}
]
},
{
"name" : "cold",
"actions" : [
{
"retry" : {
"count" : 5,
"backoff" : "exponential",
"delay" : "1h"
},
"cold_migration" : {
"start_time" : null,
"end_time" : null,
"timestamp_field" : null,
"ignore" : "timestamp"
}
}
],
"transitions" : [
{
"state_name" : "delete",
"conditions" : {
"min_index_age" : "5d"
}
}
]
},
{
"name" : "delete",
"actions" : [
{
"retry" : {
"count" : 3,
"backoff" : "exponential",
"delay" : "2h"
},
"cold_delete" : { }
}
],
"transitions" : [ ]
}
],
"ism_template" : [
{
"index_patterns" : [
"*abc-es-logging-index-*",
"otel-v1-apm-span-*"
],
"priority" : 100,
"last_updated_time" : 1720690088603
}
]
}
},
{
"_id" : "ism_policy_opensearch_prim630-uat_couchbase",
"_seq_no" : 120922,
"_primary_term" : 1988,
"policy" : {
"policy_id" : "ism_policy_opensearch_prim630-uat_couchbase",
"description" : "Move indexes between storage tiers",
"last_updated_time" : 1720684216126,
"schema_version" : 16,
"error_notification" : null,
"default_state" : "hot",
"states" : [
{
"name" : "hot",
"actions" : [ ],
"transitions" : [
{
"state_name" : "warm",
"conditions" : {
"min_index_age" : "2d"
}
}
]
},
{
"name" : "warm",
"actions" : [
{
"retry" : {
"count" : 5,
"backoff" : "exponential",
"delay" : "1h"
},
"warm_migration" : { }
}
],
"transitions" : [
{
"state_name" : "cold",
"conditions" : {
"min_index_age" : "3d"
}
}
]
},
{
"name" : "cold",
"actions" : [
{
"retry" : {
"count" : 5,
"backoff" : "exponential",
"delay" : "1h"
},
"cold_migration" : {
"start_time" : null,
"end_time" : null,
"timestamp_field" : null,
"ignore" : "timestamp"
}
}
],
"transitions" : [
{
"state_name" : "delete",
"conditions" : {
"min_index_age" : "5d"
}
}
]
},
{
"name" : "delete",
"actions" : [
{
"retry" : {
"count" : 3,
"backoff" : "exponential",
"delay" : "2h"
},
"cold_delete" : { }
}
],
"transitions" : [ ]
}
],
"ism_template" : [
{
"index_patterns" : [
"*logs-bs.couchbase-*"
],
"priority" : 102,
"last_updated_time" : 1720684216126
}
]
}
},
{
"_id" : "ism_policy_opensearch_prim630-uat_elastic",
"_seq_no" : 80354,
"_primary_term" : 1987,
"policy" : {
"policy_id" : "ism_policy_opensearch_prim630-uat_elastic",
"description" : "Move indexes between storage tiers",
"last_updated_time" : 1720684216455,
"schema_version" : 16,
"error_notification" : null,
"default_state" : "hot",
"states" : [
{
"name" : "hot",
"actions" : [ ],
"transitions" : [
{
"state_name" : "warm",
"conditions" : {
"min_index_age" : "2d"
}
}
]
},
{
"name" : "warm",
"actions" : [
{
"retry" : {
"count" : 5,
"backoff" : "exponential",
"delay" : "1h"
},
"warm_migration" : { }
}
],
"transitions" : [
{
"state_name" : "cold",
"conditions" : {
"min_index_age" : "3d"
}
}
]
},
{
"name" : "cold",
"actions" : [
{
"retry" : {
"count" : 5,
"backoff" : "exponential",
"delay" : "1h"
},
"cold_migration" : {
"start_time" : null,
"end_time" : null,
"timestamp_field" : null,
"ignore" : "timestamp"
}
}
],
"transitions" : [
{
"state_name" : "delete",
"conditions" : {
"min_index_age" : "5d"
}
}
]
},
{
"name" : "delete",
"actions" : [
{
"retry" : {
"count" : 3,
"backoff" : "exponential",
"delay" : "2h"
},
"cold_delete" : { }
}
],
"transitions" : [ ]
}
],
"ism_template" : [
{
"index_patterns" : [
"*logs-bs.elastic-*"
],
"priority" : 101,
"last_updated_time" : 1720684216455
}
]
}
},
{
"_id" : "raw-span-policy",
"_seq_no" : 0,
"_primary_term" : 1,
"policy" : {
"policy_id" : "raw-span-policy",
"description" : "Managing raw spans for trace analytics",
"last_updated_time" : 1701781645391,
"schema_version" : 16,
"error_notification" : null,
"default_state" : "current_write_index",
"states" : [
{
"name" : "current_write_index",
"actions" : [
{
"retry" : {
"count" : 3,
"backoff" : "exponential",
"delay" : "1m"
},
"rollover" : {
"min_size" : "50gb",
"min_index_age" : "24h"
}
}
],
"transitions" : [ ]
}
],
"ism_template" : [
{
"index_patterns" : [
"otel-v1-apm-span-*"
],
"priority" : 0,
"last_updated_time" : 1701781645391
}
]
}
},
{
"_id" : "ttt",
"_seq_no" : 12056,
"_primary_term" : 3,
"policy" : {
"policy_id" : "ttt",
"description" : "log index state management ",
"last_updated_time" : 1708339892043,
"schema_version" : 16,
"error_notification" : null,
"default_state" : "active",
"states" : [
{
"name" : "active",
"actions" : [ ],
"transitions" : [
{
"state_name" : "delete",
"conditions" : {
"min_index_age" : "1d"
}
}
]
},
{
"name" : "delete",
"actions" : [
{
"retry" : {
"count" : 3,
"backoff" : "exponential",
"delay" : "1m"
},
"delete" : { }
}
],
"transitions" : [ ]
}
],
"ism_template" : [
{
"index_patterns" : [
"sasa-*"
],
"priority" : 0,
"last_updated_time" : 1708338173522
}
]
}
}
],
"total_policies" : 5
}