Files
elasticsearch-js/docs/doc_examples/ce3c391c2b1915cfc44a2917bca71d19.asciidoc
2024-07-29 17:10:05 -05:00

25 lines
536 B
Plaintext

// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
[source, js]
----
const response = await client.ml.putDataFrameAnalytics({
id: "loganalytics",
description: "Outlier detection on log data",
source: {
index: "logdata",
},
dest: {
index: "logdata_out",
},
analysis: {
outlier_detection: {
compute_feature_influence: true,
outlier_fraction: 0.05,
standardization_enabled: true,
},
},
});
console.log(response);
----