πŸ“¦ 1. What is Elasticsearch?

  • A search engine designed for log and text data.

  • Stores large volumes of logs and lets you search/filter them quickly.

  • Part of the Elastic Stack.


πŸ”Ί 2. What is ELK Stack?

ELK = Elasticsearch + Logstash + Kibana

ComponentRole
ElasticsearchStores and indexes logs
LogstashParses and transforms log data
KibanaUI for searching and dashboards

Example:

  • You send syslogs to Logstash

  • It parses and sends them to Elasticsearch

  • You view logs via Kibana


⚠️ Problem with ELK:

Elastic (the company) changed their license model to a non-open-source license after v7.x.


πŸ”„ 3. What is OpenSearch?

  • A fully open-source fork of Elasticsearch + Kibana

  • Maintained by Amazon AWS

  • Same APIs and functionality

  • Used in place of Elasticsearch by Graylog and others

Summary:

ToolOriginLicenseStill Open?Works with Graylog?
ElasticsearchElastic.coWas Apache, now SSPL❌ No (new versions)❌ (v7.10 last supported)
OpenSearchAWSApache 2.0βœ… Yesβœ… Yes (preferred)

🧭 TL;DR

  • Elasticsearch = powerful log search engine

  • ELK Stack = Elasticsearch + Logstash + Kibana (full log pipeline)

  • OpenSearch = open-source drop-in replacement for Elasticsearch

  • Graylog uses OpenSearch to store/search logs (you don’t interact with it directly)

You can think of OpenSearch as the log database behind the scenes.