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}"]
|
|
|
|
=== Get Data Frame Analytics Stats API
|
|
|
|
|
|
|
|
The Get Data Frame Analytics Stats API is used to read the operational statistics of one or more {dataframe-analytics-config}s.
|
|
|
|
The API accepts a +{request}+ object and returns a +{response}+.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
|
|
|
==== Get Data Frame Analytics Stats Request
|
|
|
|
|
|
|
|
A +{request}+ requires either a {dataframe-analytics-config} id, a comma separated list of ids or
|
|
|
|
the special wildcard `_all` to get the statistics for all {dataframe-analytics-config}s
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
--------------------------------------------------
|
|
|
|
<1> Constructing a new GET Stats request referencing an existing {dataframe-analytics-config}
|
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
|
|
|
==== Response
|
|
|
|
|
|
|
|
The returned +{response}+ contains the requested {dataframe-analytics-config} statistics.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
|
|
|
--------------------------------------------------
|