Aiven finishes the transition away from Elasticsearch: technical details
On 2022-08-23, Aiven will complete its migration away from Elasticsearch. Read on to find out how this affects the backwards compatibility we were providing.
On 23 August 2022, in order to complete the migration, Aiven sunsets the backward compatible capability to all migrated Aiven for OpenSearch clusters. This article explains what changes are necessary after performing the update.
You can check the usage of the Aiven API for Aiven for OpenSearch in the API reference.
Aiven API to access service information
Sunsetting the backwards compatibility with Aiven for Elasticsearch changes how to access service information using the Aiven API. When you make a request to https://api.aiven.io/v1/project/{project}/service/{service_name}, you can see the following changes:
elasticsearch and kibana are no longer returned under the components field
elasticsearch, elasticsearch_username, elasticsearch_password and kibana_uri are no longer returned under connection_info
elasticsearch_version is no longer returned under user_config
service_type returns opensearch (instead of elasticsearch)
An example of a JSON response to a backward compatible with Aiven for Elasticsearch Aiven for OpenSearch® service:
Loading code...
An example of a JSON response to an Aiven for OpenSearch® service after backward compatibility with Elasticsearch has been turned off:
Loading code...
Aiven Console
Once the backward compatibility is turned off, you can see the differences on your OpenSearch® service page in Aiven Console: Elasticsearch version becomes OpenSearch version.
Service page for Backward compatible Aiven for OpenSearch®:
Service page for Aiven for OpenSearch® after turning off backward compatibility:
Metrics integrations
Aiven provides metrics via the Telegraf plugin, so metrics that are available across Aiven for InfluxDB®, Aiven for M3 metrics integration, external Prometheus integration, and external AWS CloudWatch metrics integration remain the same. You can see the full list of detail metrics and additional metrics.
Once we turn off backward compatibility, Aiven for OpenSearch® will not produce any metrics prefixed with elasticsearch_ to any types of metric integrations apart from an external Datadog integration. Therefore, the metrics from your Aiven for OpenSearch® cluster will only contain the opensearch_ prefixes from the above lists.
Datadog metrics integrations
Aiven does not have control over Datadog agents, therefore all metrics sent to external Datadog metrics integration will still still have elasticsearch. prefixes.
Grafana®
If you have a default Aiven for Grafana® dashboard, Aiven automatically converts all queries using elasticsearch_ prefixes to opensearch_ prefixes.