2018-10-05 11:45:46 -04:00
|
|
|
--
|
|
|
|
:api: stop-datafeed
|
|
|
|
:request: StopDatafeedRequest
|
|
|
|
:response: StopDatafeedResponse
|
|
|
|
--
|
2019-09-10 11:26:56 -04:00
|
|
|
[role="xpack"]
|
2018-10-05 11:45:46 -04:00
|
|
|
[id="{upid}-{api}"]
|
2020-10-02 17:01:01 -04:00
|
|
|
=== Stop datafeeds API
|
2018-09-21 15:13:35 -04:00
|
|
|
|
2020-10-02 17:01:01 -04:00
|
|
|
Stops a {ml} datafeed in the cluster.
|
2018-10-05 11:45:46 -04:00
|
|
|
It accepts a +{request}+ object and responds
|
|
|
|
with a +{response}+ object.
|
2018-09-21 15:13:35 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
[id="{upid}-{api}-request"]
|
2020-10-02 17:01:01 -04:00
|
|
|
==== Stop datafeeds request
|
2018-09-21 15:13:35 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
A +{request}+ object is created referencing any number of non-null `datafeedId` entries.
|
2018-09-21 15:13:35 -04:00
|
|
|
Wildcards and `_all` are also accepted.
|
|
|
|
All other fields are optional for the request.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
2018-09-21 15:13:35 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> Constructing a new request referencing existing `datafeedId` entries.
|
|
|
|
|
2020-09-04 19:57:15 -04:00
|
|
|
==== Optional arguments
|
2018-09-21 15:13:35 -04:00
|
|
|
|
|
|
|
The following arguments are optional.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-request-options]
|
2018-09-21 15:13:35 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string)
|
|
|
|
<2> If true, the datafeed is stopped forcefully.
|
|
|
|
<3> Controls the amount of time to wait until a datafeed stops. The default value is 20 seconds.
|
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
include::../execution.asciidoc[]
|