OpenSearch
The Apache 2.0 fork of Elasticsearch and Kibana 7.10.2 that AWS started in 2021, now run by a Linux Foundation project.
- What it is
- Search indexes
- Used for
- Logs,Observability
- Type
- Open source
- Made by
- OpenSearch Software Foundation
- License
- Apache 2.0
- Facts checked
- 6 October 2026
What it is
OpenSearch works the way Elasticsearch 7.10 did, because that is where it came from. It stores JSON documents in indices, splits each index into shards that are each an Apache Lucene index, keeps replica shards on other nodes, and answers the same REST APIs and query syntax that 7.10 had. A rolling upgrade from Elasticsearch 7.0 to 7.10 works node by node, and indices created in Elasticsearch 6.0 to 7.10 can be read directly. OpenSearch Dashboards is the matching fork of Kibana. Everything in the project, including security with document- and field-level access control, alerting and anomaly detection, is free under Apache 2.0, and contributors don’t sign a licence agreement.
The two have drifted apart since 2021, so newer Elasticsearch indices (8.x and later) can’t be moved over without reindexing. OpenSearch added segment replication, where replicas copy finished Lucene segments from the primary or from remote-backed object storage instead of re-indexing every document; vector search through a knn_vector field backed by the Faiss, Lucene or NMSLIB libraries; PPL, a piped query language for logs; and Data Prepper, its own ingest service. Version 3.0 (May 2025) moved to Lucene 10 and Java 21 and added experimental gRPC transport and pull-based ingestion from Kafka and Kinesis.
AWS created OpenSearch and still runs it as Amazon OpenSearch Service, as managed clusters or a serverless option; the same service keeps legacy Elasticsearch versions up to 7.10. In September 2024 AWS moved the project to the OpenSearch Software Foundation under the Linux Foundation, launched with AWS, SAP and Uber as premier members.
Why teams pick it
- Open source under Apache 2.0 with no contributor licence agreement, and neutral governance at the Linux Foundation since 2024
- Security, alerting, anomaly detection, SQL and PPL come in the free distribution
- A straightforward way off Elasticsearch 7.x: rolling upgrades from 7.0 to 7.10, and the same REST APIs
- Fully managed on AWS as Amazon OpenSearch Service, including a serverless option
Watch out for
- Not a drop-in for current Elasticsearch: indices from after 7.10 must be reindexed, and features such as ES|QL exist only on the Elastic side
- Logstash and Beats weren’t forked: you pick versions from OpenSearch’s compatibility matrix, or use Data Prepper or another shipper
- It inherits Elasticsearch’s operational work: choosing shard counts up front, sizing nodes, and writes that become searchable only after a refresh
- Some newer features (gRPC transport, pull-based ingestion) were still experimental in 3.0
Alternatives
What all search indexes have in common →How it fits with other technologies
What OpenSearch uses
- OpenSearchis a fork, from 7.10.2, ofElasticsearch
- OpenSearchreceives events, via an output plugin, fromLogstash
- OpenSearchindexes logs forwarded byFluentd
- OpenSearchis queried, via a data source plugin, byGrafana
- OpenSearchruns, via the OpenSearch operator, onKubernetes
- OpenSearchingests traces, via Data Prepper, fromOpenTelemetry
- OpenSearchcan pull documents directly fromApache Kafka
What uses OpenSearch
Create a vector index and find the nearest neighbours · bash
OS=https://localhost:9200; AUTH="admin:$OPENSEARCH_INITIAL_ADMIN_PASSWORD"
curl -k -u $AUTH -X PUT $OS/docs -H 'Content-Type: application/json' -d '{
"settings": { "index": { "knn": true } },
"mappings": { "properties": { "embedding": {
"type": "knn_vector", "dimension": 3, "space_type": "l2",
"method": { "name": "hnsw", "engine": "faiss" } } } }
}'
curl -k -u $AUTH -X POST "$OS/docs/_doc?refresh=true" -H 'Content-Type: application/json' \
-d '{"title": "gaskets", "embedding": [0.1, 0.2, 0.3]}'
curl -k -u $AUTH "$OS/docs/_search" -H 'Content-Type: application/json' -d '{
"size": 2, "query": { "knn": { "embedding": { "vector": [0.1, 0.2, 0.25], "k": 2 } } }
}'See it in a real stack
No architecture uses OpenSearch yet. Drop it into the playground and wire it up yourself.Open playground →Where it came from2019–2025
AWS sold Elasticsearch as a managed service, Amazon Elasticsearch Service, and in 2019 it launched Open Distro for Elasticsearch, which added security, alerting and other features to Elastic’s Apache 2.0 builds. On January 21, 2021, Elastic said that after 7.10.2 new versions of Elasticsearch and Kibana would no longer be released under Apache 2.0, but under the Elastic License with source code under the Elastic License or SSPL, mainly to stop cloud providers from offering them as a service. The same day AWS announced it would create and maintain an Apache 2.0 fork.
On April 12, 2021, AWS introduced the OpenSearch project: OpenSearch, derived from Elasticsearch 7.10.2, and OpenSearch Dashboards, derived from Kibana 7.10.2, with Open Distro’s features folded in. Version 1.0 shipped in July 2021, and in September Amazon Elasticsearch Service was renamed Amazon OpenSearch Service.
For its first three years the project was hosted by AWS. In September 2024 AWS transferred it to the new OpenSearch Software Foundation at the Linux Foundation, which reported more than 700 million downloads and over 200 maintainers. Version 3.0 followed in May 2025, the first major release since 2.0 in 2022.
Why it’s built this way
- Fork the last Apache 2.0 release
- AWS wanted a version it could keep offering as a service and that users could run with the freedoms of Apache 2.0, so it forked 7.10.2, the last release before the licence change.
- Stay compatible with Elasticsearch 7.10
- Keeping the REST APIs, query syntax and index format let existing clusters move over with a rolling upgrade, and let existing clients and tools keep working.
- Paid-style features in the free core
- Open Distro had already built security, alerting, SQL and index management for AWS’s service. Folding them into the default Apache 2.0 distribution made them part of the open-source project instead of add-ons.
- No contributor licence agreement, then a foundation
- AWS said that skipping a CLA makes it easy for anyone to contribute. It also means no single company collects the rights it would need to relicense the code, the move that caused the fork. Moving the project to the Linux Foundation in 2024 took ownership away from AWS as well.
Timeline
- 2019
AWS launches Open Distro for Elasticsearch
- 2021
Elastic leaves Apache 2.0 in January; OpenSearch introduced in April, 1.0 in July
- 2021
Amazon Elasticsearch Service becomes Amazon OpenSearch Service in September
- 2022
OpenSearch 2.0 released
- 2024
OpenSearch Software Foundation launched at the Linux Foundation in September
- 2025
OpenSearch 3.0 moves to Lucene 10 and Java 21 in May
- AWS Open Source blog: Stepping up for a truly open source Elasticsearch (Jan 2021)
- AWS Open Source blog: Introducing OpenSearch (Apr 2021)
- OpenSearch 1.0.0 release on GitHub (Jul 2021)
- AWS News Blog: Amazon Elasticsearch Service is now Amazon OpenSearch Service (Sep 2021)
- OpenSearch 2.0.0 release on GitHub (May 2022)
- Linux Foundation: Announces OpenSearch Software Foundation (Sep 2024)
- OpenSearch blog: Unveiling OpenSearch 3.0 (May 2025)
- Elastic blog: Upcoming licensing changes to Elasticsearch and Kibana (Jan 2021)
Sources17 · facts checked 6 October 2026
- OpenSearch FAQ (fork of 7.10.2, Apache 2.0, compatibility, upgrades)
- AWS Open Source blog: Introducing OpenSearch (Open Distro features, no CLA, Apr 2021)
- OpenSearch docs: Segment replication (remote-backed storage or node-to-node)
- OpenSearch docs: Approximate k-NN search (NMSLIB, Faiss and Lucene engines)
- OpenSearch docs: PPL (Piped Processing Language)
- OpenSearch docs: Data Prepper
- OpenSearch docs: Security plugin (document- and field-level security)
- OpenSearch blog: Unveiling OpenSearch 3.0 (Lucene 10, JDK 21, gRPC, pull-based ingestion, May 2025)
- Linux Foundation: Announces OpenSearch Software Foundation (Sep 2024)
- AWS docs: What is Amazon OpenSearch Service? (legacy Elasticsearch up to 7.10)
- AWS docs: What is Amazon OpenSearch Serverless?
- Elastic docs: ES|QL, the Elasticsearch Query Language
- opensearch-project/logstash-output-opensearch on GitHub
- opensearch-project/opensearch-k8s-operator on GitHub
- Grafana plugins: OpenSearch data source
- fluent-package-builder: Gemfile of bundled plugins (fluent-plugin-opensearch)
- OpenSearch 3.9.0 release on GitHub (Sep 2026)