Remove index lifecycle phase filter from Index Management because the ES API doesn't provide the required information for us to implement the expected behavior. (#45486)

This commit is contained in:
CJ Cenizal 2019-09-12 07:58:38 -07:00 committed by GitHub
parent 40a505e89e
commit 7506c7fd76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 70 deletions

View file

@ -63,30 +63,6 @@ Array [
],
"type": "field_value_selection",
},
Object {
"field": "ilm.phase",
"multiSelect": "or",
"name": "Lifecycle phase",
"options": Array [
Object {
"value": "hot",
"view": "Hot",
},
Object {
"value": "warm",
"view": "Warm",
},
Object {
"value": "cold",
"view": "Cold",
},
Object {
"value": "delete",
"view": "Delete",
},
],
"type": "field_value_selection",
},
]
`;

View file

@ -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',
}),
},
],
},
];
}
};

View file

@ -4887,14 +4887,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": "ホスト",
@ -10368,4 +10363,4 @@
"xpack.watcher.watchActions.logging.logTextIsRequiredValidationMessage": "ログテキストが必要です。",
"xpack.watcher.watcherDescription": "アラートの作成、管理、監視によりデータへの変更を検知します。"
}
}
}

View file

@ -5031,14 +5031,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": "主机",
@ -10511,4 +10506,4 @@
"xpack.watcher.watchActions.logging.logTextIsRequiredValidationMessage": "“日志文本”必填。",
"xpack.watcher.watcherDescription": "通过创建、管理和监测警报来检测数据中的更改。"
}
}
}