index-management
index-management copied to clipboard
Show conditions in info object for transitions and rollover actions
Issue by dbbaughe
Friday Apr 03, 2020 at 16:39 GMT
Originally opened as https://github.com/opendistro-for-elasticsearch/index-management/issues/171
Currently we only show information like:
"Attempting to transition"
"Attempting to rollover"
"Rolled over index"
"Transitioning to
This leads to these actions behaving like a black box in terms of what information they are acting on. The default rollover API has to be called and will return the results of the evaluation (true/false) for each condition specified.
Suggesting we add something like below to the "info" map for each of these steps that are attempting to rollover or transition.
"info": {
"message": "Attempting to rollover",
"conditions": {
"min_index_age": {
"value": false
"condition": "7d"
"current": "6.35d"
},
"min_size": {
"value": false
"condition": "25gb"
"current": "20.46gb"
},
}
}
Comment by dbbaughe
Wednesday Apr 29, 2020 at 03:19 GMT
This has been half completed. The rollover conditions have been added as shown in linked issue that was merged. The transition conditions still need to be added.
Can I please be assigned to this