2019-06-25 13:29:11 -04:00
|
|
|
--
|
|
|
|
:api: get-data-frame-analytics-stats
|
|
|
|
:request: GetDataFrameAnalyticsStatsRequest
|
|
|
|
:response: GetDataFrameAnalyticsStatsResponse
|
|
|
|
--
|
2019-09-10 11:26:56 -04:00
|
|
|
[role="xpack"]
|
2019-06-25 13:29:11 -04:00
|
|
|
[id="{upid}-{api}"]
|
2019-09-16 13:00:44 -04:00
|
|
|
=== Get {dfanalytics-jobs} stats API
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
Retrieves the operational statistics of one or more {dfanalytics-jobs}.
|
2019-06-25 13:29:11 -04:00
|
|
|
The API accepts a +{request}+ object and returns a +{response}+.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
2019-09-16 13:00:44 -04:00
|
|
|
==== Get {dfanalytics-jobs} stats request
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
A +{request}+ requires either a {dfanalytics-job} ID, a comma-separated list of
|
|
|
|
IDs, or the special wildcard `_all` to get the statistics for all
|
|
|
|
{dfanalytics-jobs}.
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
--------------------------------------------------
|
2019-09-16 13:00:44 -04:00
|
|
|
<1> Constructing a new GET stats request referencing an existing
|
|
|
|
{dfanalytics-job}
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
|
|
|
==== Response
|
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
The returned +{response}+ contains the requested {dfanalytics-job} statistics.
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
|
|
|
--------------------------------------------------
|