Elasticsearch API
Updates API code to the latest Elasticsearch 9.1 specification.
-
Updates
:bytesand:timeparameters in Cat endpoints:cat.aliases,cat.allocation,cat.component_templates,cat.count,cat.fielddata,cat.health,cat.indices,cat.master,cat.ml_data_frame_analytics,cat.ml_datafeeds,cat.ml_jobs,cat.ml_trained_models,cat.nodeattrs,cat.nodes,cat.pending_tasks,cat.plugins,cat.recovery,cat.repositories,cat.segments,cat.shards,cat.snapshots,cat.tasks,cat.templates,cat.thread_pool,cat.transforms:- Adds
:bytes[String] - Sets the units for columns that contain a byte-size value - Adds
:time[String] - Sets the units for columns that contain a time duration.
- Adds
cat.allocation,cat.fielddata,cat.health,cat.indices,cat.ml_data_frame_analytics,cat.ml_jobs,cat.ml_trained_models,cat.nodes,cat.recovery,cat.segments,cat.shards:- Removes
:bytesparameter.
- Removes
cat.indices,cat.ml_data_frame_analytics,cat.ml_datafeeds,cat.ml_jobs,cat.ml_trained_models,cat.nodes,cat.pending_tasks,cat.recovery,cat.shards,cat.snapshots,cat.tasks,cat.thread_pool,cat.transforms:- Removes
:timeparameter.
- Removes
-
Adds available parameters to experimental Stream namespace APIs. Updates
streams.logs_disable,streams.logs_enable,streams.status.- [Time]
:master_timeoutThe period to wait for a connection to the master node. - [Time]
:timeoutThe period to wait for a response. - [Boolean]
:error_traceWhen set totrueElasticsearch will include the full stack trace of errors when they occur. - [String, Array]
:filter_pathComma-separated list of filters in dot notation which reduce the response returned by Elasticsearch. - [Boolean]
:humanWhen set totruewill return statistics in a format suitable for humans. - [Boolean]
:prettyIf set totruethe returned JSON will be "pretty-formatted". Only use this option for debugging.
- [Time]
-
New parameters in
cat.segments:- [String, Array]
:expand_wildcardsType of index that wildcard expressions can match. - [Boolean]
:allow_no_indicesIffalse, the request returns an error if any wildcard expression, index alias, or _all value targets only. - [Boolean]
:ignore_throttledIftrue, concrete, expanded or aliased indices are ignored when frozen. - [Boolean]
:ignore_unavailableIf true, missing or closed indices are not included in the response. - [Boolean]
:allow_closedIf true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour.
- [String, Array]
-
watcher.put_watch- body is now required