github.com/verrazzano/verrazzano@v1.7.1/tests/testdata/upgrade/opensearch/policy.json (about) 1 { 2 "policy":{ 3 "description":"Verrazzano Pre-Upgrade ISM Policy", 4 "default_state":"hot", 5 "schema_version":1, 6 "states":[ 7 { 8 "name":"hot", 9 "actions":[ 10 { 11 "retry":{ 12 "count":3, 13 "backoff":"exponential", 14 "delay":"10m" 15 }, 16 "rollover":{ 17 "min_index_age":"30d" 18 } 19 } 20 ], 21 "transitions":[ 22 { 23 "state_name":"cold", 24 "conditions":{ 25 "min_index_age":"30d" 26 } 27 } 28 ] 29 }, 30 { 31 "name":"cold", 32 "actions":[ 33 { 34 "retry":{ 35 "count":3, 36 "backoff":"exponential", 37 "delay":"10m" 38 }, 39 "close":{ 40 41 } 42 } 43 ], 44 "transitions":[ 45 { 46 "state_name":"delete", 47 "conditions":{ 48 "min_index_age":"35d" 49 } 50 } 51 ] 52 }, 53 { 54 "name":"delete", 55 "actions":[ 56 { 57 "retry":{ 58 "count":3, 59 "backoff":"exponential", 60 "delay":"10m" 61 }, 62 "delete":{ 63 64 } 65 } 66 ] 67 } 68 ], 69 "ism_template":[ 70 { 71 "index_patterns":[ 72 "verrazzano-system" 73 ], 74 "priority":0 75 } 76 ] 77 } 78 }