diff --git a/public/pages/Indices/components/ApplyPolicyModal/ApplyPolicyModal.tsx b/public/pages/Indices/components/ApplyPolicyModal/ApplyPolicyModal.tsx index 4c0f0293e..237b4fb14 100644 --- a/public/pages/Indices/components/ApplyPolicyModal/ApplyPolicyModal.tsx +++ b/public/pages/Indices/components/ApplyPolicyModal/ApplyPolicyModal.tsx @@ -179,8 +179,9 @@ export default class ApplyPolicyModal extends Component { const { hasRolloverAction } = this.state; const { indices } = this.props; + const isDataStream = indices[0].includes(".ds"); const hasSingleIndexSelected = indices.length === 1; - const requiresAlias = hasRolloverAction && hasSingleIndexSelected; + const requiresAlias = hasRolloverAction && hasSingleIndexSelected && !isDataStream; const hasAliasError = requiresAlias && !rolloverAlias; return hasAliasError ? "Required" : ""; };