You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -89,7 +110,7 @@ function CustomResultIndex(props: CustomResultIndexProps) {
89
110
<EuiFlexItem>
90
111
<EuiCallOut
91
112
data-test-subj="cannotEditResultIndexCallout"
92
-
title="You can't change the custom result index after creating the detector. You can manage the result index using the following three settings."
113
+
title="You can't change the custom result index after creating the detector. You can manage the result index using the following three settings inside Anomaly Detection plugin or with the Index Management plugin."
93
114
color="warning"
94
115
iconType="alert"
95
116
size="s"
@@ -115,20 +136,37 @@ function CustomResultIndex(props: CustomResultIndexProps) {
115
136
</EuiFormRow>
116
137
</EuiFlexItem>
117
138
) : null}
139
+
140
+
{enabled ? (
141
+
<EuiFlexItem>
142
+
<EuiCheckbox
143
+
id={'resultIndexConditionCheckbox'}
144
+
label="Enable custom result index lifecycle management"
Min Index Age <spanclassName="optional">- optional</span>
168
+
</p>
169
+
}
132
170
hint={[
133
171
`This setting would define a specific threshold for the age of an index. When this threshold is surpassed, a rollover will be triggered automatically.`,
134
172
]}
@@ -141,6 +179,7 @@ function CustomResultIndex(props: CustomResultIndexProps) {
141
179
name="resultIndexMinAge"
142
180
id="resultIndexMinAge"
143
181
data-test-subj="resultIndexMinAge"
182
+
placeholder="Min index age"
144
183
min={1}
145
184
{...field}
146
185
/>
@@ -157,16 +196,20 @@ function CustomResultIndex(props: CustomResultIndexProps) {
Min Index Size <spanclassName="optional">- optional</span>
211
+
</p>
212
+
}
170
213
hint={[
171
214
`This setting would define a specific threshold for the size of an index. When this threshold is surpassed, a rollover will be triggered automatically.`,
172
215
]}
@@ -178,7 +221,7 @@ function CustomResultIndex(props: CustomResultIndexProps) {
178
221
<EuiFieldNumber
179
222
name="resultIndexMinSize"
180
223
id="resultIndexMinSize"
181
-
placeholder="Max index size"
224
+
placeholder="Min index size"
182
225
data-test-subj="resultIndexMinSize"
183
226
min={1000}
184
227
{...field}
@@ -196,16 +239,20 @@ function CustomResultIndex(props: CustomResultIndexProps) {
0 commit comments