Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show conditions in info object for transitions and rollover actions #39

Open
adityaj1107 opened this issue Jun 3, 2021 · 2 comments
Open
Assignees

Comments

@adityaj1107
Copy link
Contributor

Issue by dbbaughe
Friday Apr 03, 2020 at 16:39 GMT
Originally opened as opendistro-for-elasticsearch/index-management#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"
        },
    }
}
@adityaj1107 adityaj1107 added the enhancement New request label Jun 3, 2021
@adityaj1107
Copy link
Contributor Author

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.

@AryaMedapati
Copy link

Can I please be assigned to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

4 participants