Class GetDatafeedStatsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetDatafeedStatsRequest
Get datafeed stats. You can get statistics for multiple datafeeds in a single
API request by using a comma-separated list of datafeeds or a wildcard
expression. You can get statistics for all datafeeds by using
_all, by specifying * as the
<feed_id>, or by omitting the
<feed_id>. If the datafeed is stopped, the only
information you receive is the datafeed_id and the
state. This API returns a maximum of 10,000 datafeeds.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<GetDatafeedStatsRequest,GetDatafeedStatsResponse, ErrorResponse> Endpoint "ml.get_datafeed_stats". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanSpecifies what to do when the request: Contains wildcard expressions and there are no datafeeds that match. Contains the_allstring or no identifiers and there are no matches. Contains wildcard expressions and there are only partial matches.Identifier for the datafeed.static GetDatafeedStatsRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<GetDatafeedStatsRequest,GetDatafeedStatsResponse, _ENDPOINTErrorResponse> Endpoint "ml.get_datafeed_stats".
-
-
Method Details
-
of
public static GetDatafeedStatsRequest of(Function<GetDatafeedStatsRequest.Builder, ObjectBuilder<GetDatafeedStatsRequest>> fn) -
allowNoMatch
Specifies what to do when the request:- Contains wildcard expressions and there are no datafeeds that match.
- Contains the
_allstring or no identifiers and there are no matches. - Contains wildcard expressions and there are only partial matches.
The default value is
true, which returns an emptydatafeedsarray when there are no matches and the subset of results when there are partial matches. If this parameter isfalse, the request returns a404status code when there are no matches or only partial matches.API name:
allow_no_match -
datafeedId
Identifier for the datafeed. It can be a datafeed identifier or a wildcard expression. If you do not specify one of these options, the API returns information about all datafeeds.API name:
datafeed_id
-