diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx b/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx index af2f56fe942de..4d2cb0e71a021 100644 --- a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx +++ b/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx @@ -191,8 +191,8 @@ export const StepDefineSummary: FC = ({ } )} dataTestSubj="transformPivotPreview" - title={i18n.translate('xpack.transform.pivotPreview.PivotPreviewTitle', { - defaultMessage: 'Transform pivot preview', + title={i18n.translate('xpack.transform.pivotPreview.transformPreviewTitle', { + defaultMessage: 'Transform preview', })} toastNotifications={toastNotifications} /> diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx b/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx index c58d873c9834a..b72d70295b10f 100644 --- a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx +++ b/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx @@ -7,6 +7,7 @@ import React, { Fragment, FC, useEffect, useState } from 'react'; import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; import { EuiAccordion, @@ -17,6 +18,7 @@ import { EuiFormRow, EuiSelect, EuiSpacer, + EuiCallOut, } from '@elastic/eui'; import { KBN_FIELD_TYPES } from '../../../../../../../../../src/plugins/data/common'; @@ -50,6 +52,7 @@ import { transformSettingsMaxPageSearchSizeValidator, } from '../../../../common/validators'; import { StepDefineExposedState } from '../step_define/common'; +import { TRANSFORM_FUNCTION } from '../../../../../../common/constants'; export interface StepDetailsExposedState { continuousModeDateField: string; @@ -397,6 +400,7 @@ export const StepDetailsForm: FC = React.memo( data-test-subj="transformDescriptionInput" /> + = React.memo( /> + {stepDefineState.transformFunction === TRANSFORM_FUNCTION.LATEST ? ( + <> + + +

+ + {i18n.translate('xpack.transform.stepDetailsForm.createIndexAPI', { + defaultMessage: 'Create index API', + })} + + ), + }} + /> +

+
+ + + ) : null} +