diff --git a/x-pack/plugins/index_management/public/application/components/template_form/template_form_schemas.tsx b/x-pack/plugins/index_management/public/application/components/template_form/template_form_schemas.tsx index dec31faad794a..5448c932d65e0 100644 --- a/x-pack/plugins/index_management/public/application/components/template_form/template_form_schemas.tsx +++ b/x-pack/plugins/index_management/public/application/components/template_form/template_form_schemas.tsx @@ -129,6 +129,18 @@ export const schemas: Record = { type: VALIDATION_TYPES.ARRAY_ITEM, isBlocking: false, }, + { + validator: startsWithField({ + char: '.', + message: i18n.translate( + 'xpack.idxMgmt.templateValidation.indexPatternDotPrefixedError', + { + defaultMessage: 'Index patterns cannot match dot-prefixed indices.', + } + ), + }), + type: VALIDATION_TYPES.ARRAY_ITEM, + }, ], }, doCreateDataStream: {