Class MlJobsRequest
Get configuration and usage information for anomaly detection jobs. This API
returns a maximum of 10,000 jobs. If the Elasticsearch security features are
enabled, you must have monitor_ml, monitor,
manage_ml, or manage cluster privileges to use this
API.
IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get anomaly detection job statistics API.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<MlJobsRequest,MlJobsResponse, ErrorResponse> Endpoint "cat.ml_jobs". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanSpecifies what to do when the request: Contains wildcard expressions and there are no jobs that match. Contains the_allstring or no identifiers and there are no matches. Contains wildcard expressions and there are only partial matches.final Bytesbytes()Sets the units for columns that contain a byte-size value.final List<CatAnomalyDetectorColumn>h()Comma-separated list of column names to display.final StringjobId()Identifier for the anomaly detection job.static MlJobsRequestrebuild()final List<CatAnomalyDetectorColumn>s()Comma-separated list of column names or column aliases used to sort the response.final TimeUnittime()Sets the units for columns that contain a time duration.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "cat.ml_jobs".
-
-
Method Details
-
of
-
allowNoMatch
Specifies what to do when the request:- Contains wildcard expressions and there are no jobs that match.
- Contains the
_allstring or no identifiers and there are no matches. - Contains wildcard expressions and there are only partial matches.
If
true, the API returns an empty jobs array when there are no matches and the subset of results when there are partial matches. Iffalse, the API returns a 404 status code when there are no matches or only partial matches.API name:
allow_no_match -
bytes
Sets the units for columns that contain a byte-size value. Note that byte-size value units work in terms of powers of 1024. For instance1kbmeans 1024 bytes, not 1000 bytes. If omitted, byte-size values are rendered with a suffix such askb,mb, orgb, chosen such that the numeric value of the column is as small as possible whilst still being at least1.0. If given, byte-size values are rendered as an integer with no suffix, representing the value of the column in the chosen unit. Values that are not an exact multiple of the chosen unit are rounded down.API name:
bytes -
h
Comma-separated list of column names to display.API name:
h -
jobId
Identifier for the anomaly detection job.API name:
job_id -
s
Comma-separated list of column names or column aliases used to sort the response.API name:
s -
time
Sets the units for columns that contain a time duration. If omitted, time duration values are rendered with a suffix such asms,s,morh, chosen such that the numeric value of the column is as small as possible whilst still being at least1.0. If given, time duration values are rendered as an integer with no suffix. Values that are not an exact multiple of the chosen unit are rounded down.API name:
time -
rebuild
- Returns:
- New
MlJobsRequest.Builderinitialized with field values of this instance
-