-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add filter for ILM phase to Index Management (revert #45486) #57402
Add filter for ILM phase to Index Management (revert #45486) #57402
Conversation
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
Awesome! Shouldn't the "Delete" phase be the last item in the dropdown instead of the first one as in the screenshot? [EDIT] OK I just see in the gif that the selected value comes first in the list once selected 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and worked as explained the description!
Great work @cjcenizal , this really nice functionality to see in action!
P.S.
I assume that in the PR description I was supposed to change "min_age" not "max_age"?
No, |
💛 Build succeeded, but was flaky
Test FailuresKibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/discover/feature_controls/discover_security·ts.discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loadedStandard Out
Stack Trace
History
To update your PR or re-run it, just comment with: |
…#58145) Co-authored-by: Elastic Machine <[email protected]>
…-out-of-legacy * 'master' of github.com:elastic/kibana: (109 commits) document difference between log record formats (elastic#57798) Expose elasticsearch config schema (elastic#57655) [ui/agg_response/tabify] update types for search/expressions/build_tabular_inspector_data.ts (elastic#58130) [SIEM] Cleans Cypress tests code (elastic#58134) fix: 🐛 make dev server Storybook builds work again (elastic#58188) Prevent core savedObjects plugin from being overridden (elastic#58193) Expose serverBasePath on client-side (elastic#58070) Fix legend sizing on area charts (elastic#58083) Drilldown plugin (elastic#58097) [skip-ci] Fix broken links to saved objects APIs in MIGRATION.md (elastic#58033) [ML] New Platform server shim: update datafeed routes (elastic#57739) Add flag for building static storybook site (elastic#58050) add monaco to kbn/ui-shared-deps and load required features for all uses (elastic#58075) [SIEM] Let us try out code owners for a little while and see what happens Add throttle param to Alerting readme (elastic#57609) [NP] Move ui/saved_objects to NP (elastic#57452) [Logs UI] Fix column reordering in settings page (elastic#58104) Fix browser date format (elastic#57714) Add filter for ILM phase to Index Management (revert elastic#45486) (elastic#57402) Clarify Precision function in Timelion Kibana (elastic#58031) ... # Conflicts: # x-pack/.i18nrc.json
Revert #45486
Fix #56799
CC @sebelga I will block this on #57295, and resolve merge conflicts on my end once your PR is in master.
Release note
We've added a filter to Index Management that lets you see indices grouped by the lifecycle phase they're in: hot, warm, cold, and delete.
(See gif and screenshot below).
Background
elastic/elasticsearch#51631 fixed the ES API so that the phase is now reported as users expect, instead of transiently being in a phase and then changing to "completed". With the API giving us the information we need, we can now fulfill the filtering functionality we've been fighting for.
Testing
To test, execute these requests in Dev Tools:
Then edit and execute the second request to update the policy per the comment, changing the rollover config's
"max_docs": 1
to"max_age": "1s"
. Refresh Index Management repeatedly and you'll see rollover indices start spawning into existence. After a minute, some will be in the warm phase. After a couple minutes, some will be in the cold phase. Then you can use the filter like this:You can also add a delete phase and refresh to try to catch an index in this phase before the delete action completes and it disappears forever.