[DOCS] Updates 7.x version in data frame analytics API (#44026)

This commit is contained in:
Lisa Cawley 2019-07-08 11:20:57 -07:00 committed by GitHub
parent efddbcc1d1
commit 117f14e0ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 20 deletions

View File

@ -98,31 +98,33 @@ PUT _ml/data_frame/analytics/loganalytics
}
--------------------------------------------------
// CONSOLE
// TEST[skip:setup:setup_logdata]
// TEST[setup:setup_logdata]
The API returns the following result:
[source,js]
----
{
"id": "loganalytics",
"source": {
"index": ["logdata"],
"query": {
"match_all": {}
}
},
"dest": {
"index": "logdata_out",
"results_field": "ml"
},
"analysis": {
"outlier_detection": {}
},
"model_memory_limit": "1gb",
"create_time" : 1562265491319,
"version" : "8.0.0"
"id" : "loganalytics",
"source" : {
"index" : [
"logdata"
],
"query" : {
"match_all" : { }
}
},
"dest" : {
"index" : "logdata_out",
"results_field" : "ml"
},
"analysis" : {
"outlier_detection" : { }
},
"model_memory_limit" : "1gb",
"create_time" : 1562351429434,
"version" : "7.3.0"
}
----
// TESTRESPONSE[s/1562265491319/$body.$_path/]
// TESTRESPONSE[s/"version": "8.0.0"/"version": $body.version/]
// TESTRESPONSE[s/1562351429434/$body.$_path/]
// TESTRESPONSE[s/"version" : "7.3.0"/"version" : $body.version/]