Skip to content

Commit

Permalink
Remove index lifecycle phase filter from Index Management because the…
Browse files Browse the repository at this point in the history
… ES API doesn't provide the required information for us to implement the expected behavior. (#45486) (#45529)
  • Loading branch information
cjcenizal committed Sep 12, 2019
1 parent 85d0e24 commit 1cfe0bb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 70 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 @@ -160,40 +160,6 @@ 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
7 changes: 1 addition & 6 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -4915,14 +4915,9 @@
"xpack.indexLifecycleMgmt.indexManagementTable.removeLifecyclePolicyConfirmModal.removePolicyToIndexError": "ポリシーの削除中にエラーが発生しました",
"xpack.indexLifecycleMgmt.indexMgmtBanner.errorMessage": "{ numIndicesWithLifecycleErrors, number}\n {numIndicesWithLifecycleErrors, plural, one {インデックスに} other {インデックスに} }\n インデックスライフサイクルエラー",
"xpack.indexLifecycleMgmt.indexMgmtBanner.filterLabel": "エラーを表示",
"xpack.indexLifecycleMgmt.indexMgmtFilter.coldLabel": "コールド",
"xpack.indexLifecycleMgmt.indexMgmtFilter.deleteLabel": "削除",
"xpack.indexLifecycleMgmt.indexMgmtFilter.hotLabel": "ホット",
"xpack.indexLifecycleMgmt.indexMgmtFilter.lifecyclePhaseLabel": "ライフサイクルのフェーズ",
"xpack.indexLifecycleMgmt.indexMgmtFilter.lifecycleStatusLabel": "ライフサイクルステータス",
"xpack.indexLifecycleMgmt.indexMgmtFilter.managedLabel": "管理中",
"xpack.indexLifecycleMgmt.indexMgmtFilter.unmanagedLabel": "管理対象外",
"xpack.indexLifecycleMgmt.indexMgmtFilter.warmLabel": "ウォーム",
"xpack.indexLifecycleMgmt.indexPriorityLabel": "インデックスの優先順位",
"xpack.indexLifecycleMgmt.learnMore": "その他のリソース",
"xpack.indexLifecycleMgmt.nodeAttrDetails.hostField": "ホスト",
Expand Down Expand Up @@ -10406,4 +10401,4 @@
"xpack.watcher.watchActions.logging.logTextIsRequiredValidationMessage": "ログテキストが必要です。",
"xpack.watcher.watcherDescription": "アラートの作成、管理、監視によりデータへの変更を検知します。"
}
}
}
7 changes: 1 addition & 6 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -5060,14 +5060,9 @@
"xpack.indexLifecycleMgmt.indexManagementTable.removeLifecyclePolicyConfirmModal.removePolicyToIndexError": "删除策略时出错",
"xpack.indexLifecycleMgmt.indexMgmtBanner.errorMessage": "{ numIndicesWithLifecycleErrors, number}\n {numIndicesWithLifecycleErrors, plural, one { 个索引已} other { 个索引已} }\n 生命周期错误",
"xpack.indexLifecycleMgmt.indexMgmtBanner.filterLabel": "显示错误",
"xpack.indexLifecycleMgmt.indexMgmtFilter.coldLabel": "冷",
"xpack.indexLifecycleMgmt.indexMgmtFilter.deleteLabel": "删除",
"xpack.indexLifecycleMgmt.indexMgmtFilter.hotLabel": "热",
"xpack.indexLifecycleMgmt.indexMgmtFilter.lifecyclePhaseLabel": "生命周期阶段",
"xpack.indexLifecycleMgmt.indexMgmtFilter.lifecycleStatusLabel": "生命周期状态",
"xpack.indexLifecycleMgmt.indexMgmtFilter.managedLabel": "受管",
"xpack.indexLifecycleMgmt.indexMgmtFilter.unmanagedLabel": "未受管",
"xpack.indexLifecycleMgmt.indexMgmtFilter.warmLabel": "温",
"xpack.indexLifecycleMgmt.indexPriorityLabel": "索引优先级",
"xpack.indexLifecycleMgmt.learnMore": "了解详情",
"xpack.indexLifecycleMgmt.nodeAttrDetails.hostField": "主机",
Expand Down Expand Up @@ -10550,4 +10545,4 @@
"xpack.watcher.watchActions.logging.logTextIsRequiredValidationMessage": "“日志文本”必填。",
"xpack.watcher.watcherDescription": "通过创建、管理和监测警报来检测数据中的更改。"
}
}
}

0 comments on commit 1cfe0bb

Please sign in to comment.