[Logs UI] Change index pattern config callout into info panel (#115737)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Felix Stürmer 2021-10-21 11:59:00 +02:00 committed by GitHub
parent c89bb30b04
commit 39aea6d9a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 11 deletions

View file

@ -48,13 +48,13 @@ export const IndexNamesConfigurationPanel: React.FC<{
</h3>
</EuiTitle>
<EuiSpacer size="m" />
<EuiCallOut title={deprecationCalloutTitle} color="warning" iconType="alert">
<EuiCallOut title={indexPatternInformationCalloutTitle} iconType="wrench">
<FormattedMessage
tagName="p"
id="xpack.infra.logSourceConfiguration.indexNameReferenceDeprecationDescription"
defaultMessage="Referring to Elasticsearch indices directly is a deprecated way of configuring a log source. Instead, log source now integrate with Kibana index patterns to configure the used indices."
id="xpack.infra.logSourceConfiguration.indexPatternInformationCalloutDescription"
defaultMessage="The Logs UI can now integrate with Kibana index patterns to configure the used indices."
/>
<EuiButton color="warning" onClick={onSwitchToIndexPatternReference}>
<EuiButton onClick={onSwitchToIndexPatternReference}>
<FormattedMessage
id="xpack.infra.logSourceConfiguration.switchToIndexPatternReferenceButtonLabel"
defaultMessage="Use Kibana index patterns"
@ -119,9 +119,9 @@ const getIndexNamesInputFieldProps = getInputFieldProps<LogIndexNameReference>(
({ indexName }) => indexName
);
const deprecationCalloutTitle = i18n.translate(
'xpack.infra.logSourceConfiguration.indexNameReferenceDeprecationTitle',
const indexPatternInformationCalloutTitle = i18n.translate(
'xpack.infra.logSourceConfiguration.indexPatternInformationCalloutTitle',
{
defaultMessage: 'Deprecated configuration option',
defaultMessage: 'New configuration option',
}
);

View file

@ -13098,8 +13098,6 @@
"xpack.infra.logSourceConfiguration.childFormElementErrorMessage": "1つ以上のフォームフィールドが無効な状態です。",
"xpack.infra.logSourceConfiguration.emptyColumnListErrorMessage": "列リストは未入力のままにできません。",
"xpack.infra.logSourceConfiguration.emptyFieldErrorMessage": "フィールド'{fieldName}'は未入力のままにできません。",
"xpack.infra.logSourceConfiguration.indexNameReferenceDeprecationDescription": "ログソースを構成する目的で、Elasticsearchインデックスを直接参照するのは推奨されません。ログソースはKibanaインデックスパターンと統合し、使用されているインデックスを構成します。",
"xpack.infra.logSourceConfiguration.indexNameReferenceDeprecationTitle": "廃止予定の構成オプション",
"xpack.infra.logSourceConfiguration.indexPatternManagementLinkText": "インデックスパターン管理画面",
"xpack.infra.logSourceConfiguration.indexPatternSectionTitle": "インデックスパターン",
"xpack.infra.logSourceConfiguration.indexPatternSelectorPlaceholder": "インデックスパターンを選択",

View file

@ -13284,8 +13284,6 @@
"xpack.infra.logSourceConfiguration.childFormElementErrorMessage": "至少一个表单字段处于无效状态。",
"xpack.infra.logSourceConfiguration.emptyColumnListErrorMessage": "列列表不得为空。",
"xpack.infra.logSourceConfiguration.emptyFieldErrorMessage": "字段“{fieldName}”不得为空。",
"xpack.infra.logSourceConfiguration.indexNameReferenceDeprecationDescription": "直接引用 Elasticsearch 索引是配置日志源的方式,但已弃用。现在,日志源与 Kibana 索引模式集成以配置使用的索引。",
"xpack.infra.logSourceConfiguration.indexNameReferenceDeprecationTitle": "弃用的配置选项",
"xpack.infra.logSourceConfiguration.indexPatternManagementLinkText": "索引模式管理模式",
"xpack.infra.logSourceConfiguration.indexPatternSectionTitle": "索引模式",
"xpack.infra.logSourceConfiguration.indexPatternSelectorPlaceholder": "选择索引模式",