- OpenSearch: 2.9.0
- Elastic OSS (legacy): 7.10.2
- Elastic Stack 8.9.1
You would need to install Docker and Docker Compose
# fill in .env file with ELASTIC_PASSWORD and KIBANA_PASSWORD
# Elastic Stack
docker-compose -f docker/elk/docker-compose.yml --env-file .env up
curl --insecure https://localhost:9200 -u elastic:ELASTIC_PASSWORD
# fill in .env file with OPENSEARCH_INITIAL_ADMIN_PASSWORD - only use strong passwords!
# OPENSEARCH
docker-compose -f docker/opensearch/docker-compose.yml --env-file .env up
curl --insecure https://localhost:9200 -u admin:admin
# Elasticsearch OSS (do not update OSS version)
docker-compose -f docker/elk-oss/docker-compose.yml --env-file .env up
curl http://localhost:9200
After some time you will have Kibana/OpenSearch Dashboards available at this URL
After recent changes announced for Elastic to move its product to SSPL licence, I would strongly recommend to keep using truly open source version of it. Not only it has security features available for free, but also it doesn't have any strings attached to it via SSPL licence.
Read more on this here
One of the possibility to compare those are to use ESRally and run some experiments with it
Install ESRally
Install ESRally
pip3 install esrally
and then benchmark
esrally race --track=geonames --target-hosts=localhost:9200 --pipeline=benchmark-only --client-options="use_ssl:true,verify_certs:false,basic_auth_user:'admin',basic_auth_password:'admin'"
Install Opensearch Benchmark
pip install opensearch-benchmark
and then benchmark
opensearch-benchmark execute-test --workload=geonames --target-hosts=localhost:9200 --pipeline=benchmark-only --client-options="use_ssl:true,verify_certs:false,basic_auth_user:'admin',basic_auth_password:'admin'"
Enjoy the results or create your own test experiments.