Skip to content

Commit

Permalink
Add filter for ILM phase to Index Management (reverting #45486).
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Feb 11, 2020
1 parent 454d0a2 commit 41ab4b8
Showing 1 changed file with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,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 41ab4b8

Please sign in to comment.