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
Copy file name to clipboardexpand all lines: public/pages/DefineDetector/components/CustomResultIndex/CustomResultIndex.tsx
+1-1
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ function CustomResultIndex(props: CustomResultIndexProps) {
89
89
<EuiFlexItem>
90
90
<EuiCallOut
91
91
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 inside Anomaly Detection plugin or with the Index Management plugin."
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."
// debug message: prints visibleIndices if isResultIndexMissing is true
164
164
if(isResultIndexMissing){
165
-
console.log(`isResultIndexMissing is true, visibleIndices: ${visibleIndices}, visibleAliases: ${visibleAliases}, detector result index: ${resultIndexOrAlias}`);
165
+
// The JSON.stringify method converts a JavaScript object or value to a JSON string. The optional null parameter is for the replacer function (not used here), and 2 specifies the indentation level for pretty-printing the JSON.
166
+
console.log(`isResultIndexMissing is true, visibleIndices: ${JSON.stringify(visibleIndices,null,2)}, visibleAliases: ${JSON.stringify(visibleAliases,null,2)}, detector result index: ${resultIndexOrAlias}`);
166
167
}
167
168
168
169
// String to set in the modal if the realtime detector and/or historical analysis
0 commit comments