Skip to content

Commit

Permalink
Add filter for ILM phase to Index Management (revert #45486) (#57402) (
Browse files Browse the repository at this point in the history
…#58145)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
cjcenizal and elasticmachine committed Feb 21, 2020
1 parent ef0676b commit 916aa7b
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,40 @@ export const ilmFilterExtension = indices => {
},
],
},
{
type: 'field_value_selection',
field: 'ilm.phase',
name: i18n.translate('xpack.indexLifecycleMgmt.indexMgmtFilter.lifecyclePhaseLabel', {
defaultMessage: 'Lifecycle phase',
}),
multiSelect: 'or',
options: [
{
value: 'hot',
view: i18n.translate('xpack.indexLifecycleMgmt.indexMgmtFilter.hotLabel', {
defaultMessage: 'Hot',
}),
},
{
value: 'warm',
view: i18n.translate('xpack.indexLifecycleMgmt.indexMgmtFilter.warmLabel', {
defaultMessage: 'Warm',
}),
},
{
value: 'cold',
view: i18n.translate('xpack.indexLifecycleMgmt.indexMgmtFilter.coldLabel', {
defaultMessage: 'Cold',
}),
},
{
value: 'delete',
view: i18n.translate('xpack.indexLifecycleMgmt.indexMgmtFilter.deleteLabel', {
defaultMessage: 'Delete',
}),
},
],
},
];
}
};
Expand Down

0 comments on commit 916aa7b

Please sign in to comment.