Add filter for ILM phase to Index Management (revert #45486)#57402
Merged
cjcenizal merged 3 commits intoelastic:masterfrom Feb 20, 2020
Merged
Add filter for ILM phase to Index Management (revert #45486)#57402cjcenizal merged 3 commits intoelastic:masterfrom
cjcenizal merged 3 commits intoelastic:masterfrom
Conversation
Contributor
|
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
Contributor
|
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 👍 |
jloleysens
approved these changes
Feb 12, 2020
Contributor
jloleysens
left a comment
There was a problem hiding this comment.
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"?
Contributor
Author
No, |
Contributor
💛 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 OutStack TraceHistory
To update your PR or re-run it, just comment with: |
cjcenizal
added a commit
that referenced
this pull request
Feb 21, 2020
jloleysens
added a commit
to jloleysens/kibana
that referenced
this pull request
Feb 21, 2020
…-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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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": 1to"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.