Class MlJobsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cat.CatRequestBase
co.elastic.clients.elasticsearch.cat.MlJobsRequest
Returns 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 BooleanDeprecated.final 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()The unit used to display byte values.final Stringformat()Short version of the HTTP accept header.final List<CatAnomalyDetectorColumn>h()Comma-separated list of column names to display.final Booleanhelp()If true, the response includes help information.final StringjobId()Identifier for the anomaly detection job.static MlJobsRequestfinal List<CatAnomalyDetectorColumn>s()Comma-separated list of column names or column aliases used to sort the response.final TimeUnittime()The unit used to display time values.final Booleanv()Iftrue, the response includes column headings.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "cat.ml_jobs".
-
-
Method Details
-
of
-
allowNoJobs
Deprecated.7.10.0 Useallow_no_matchinstead.Whether to ignore if a wildcard expression matches no jobs. (This includes_allstring or when no jobs have been specified)API name:
allow_no_jobs -
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
The unit used to display byte values.API name:
bytes -
format
Short version of the HTTP accept header. Valid values include JSON, YAML, for example.API name:
format -
h
Comma-separated list of column names to display.API name:
h -
help
If true, the response includes help information.API name:
help -
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
The unit used to display time values.API name:
time -
v
Iftrue, the response includes column headings.API name:
v
-
allow_no_matchinstead.