Client
- Tested versions of Ruby for 8.12.0: Ruby (MRI) 3.0, 3.1, 3.2 and 3.3. JRuby 9.3 and JRuby 9.4.
API
API Changes:
bulk
- Adds boolean:list_executed_pipelines
parameter: Setslist_executed_pipelines
for all incoming documents. Defaults to unset (false).indices.put_settings
- Adds boolean:reopen
parameter: Whether to close and reopen the index to apply non-dynamic settings. If set totrue
the indices to which the settings are being applied will be closed temporarily and then reopened in order to apply the changes. The default isfalse
.open_point_in_time
- Adds Hash:body
parameter: an index_filter specified with the Query DSL.security.get_api_key
- Adds boolean:active_only
parameter: flag to limit response to only active (not invalidated or expired) API keys.
New APIs
New API for Universal profiling:
profiling.status
- Returns basic information about the status of Universal Profiling.
New experimental API:
simulate.ingest
- Simulates running ingest with example documents. See: https://www.elastic.co/guide/en/elasticsearch/reference/8.12/simulate-ingest-api.html
Connectors API
Version 8.12 introduces the experimental Connectors API. Use the following APIs to manage connectors:
connector.post
- Creates a connector. See documentationconnector.put
- Creates or updates a connector. See documentationconnector.delete
- Deletes a connector. See documentationconnector.get
- Returns the details about a connector. See documentationconnector.list
- Lists all connectors. See documentationconnector.check_in
- Updates the last_seen timestamp in the connector document. See documentationconnector.update_configuration
- Updates the connector configuration. See documentationconnector.update_error
- Updates the error field in the connector document. See documentationconnector.update_filtering
- Updates the filtering field in the connector document. See documentationconnector.last_sync
- Updates the stats of last sync in the connector document. See documentationconnector.update_name
- Updates the name and/or description fields in the connector document. See documentationconnector.update_pipeline
- Updates the pipeline field in the connector document. See documentationconnector.update_scheduling
- Updates the scheduling field in the connector document. See documentation
Use the following APIs to manage sync jobs:
connector_sync_job.cancel
- Cancels a connector sync job. See documentationconnector_sync_job.check_in
- Checks in a connector sync job (refreshes 'last_seen'). See documentationconnector_sync_job.delete
- Deletes a connector sync job. See documentationconnector_sync_job.error
- Sets an error for a connector sync job. See documentationconnector_sync_job.get
- Returns the details about a connector sync job. See documentationconnector_sync_job.list
- Lists all connector sync jobs. See documentationconnector_sync_job.post
- Creates a connector sync job. See documentationconnector_sync_job.update_stats
- Updates the stats fields in the connector sync job document. See documentation