# ELK Stack (Elastic Stack)

> Three tools that work as one to collect, search and chart logs.

**Field:** Infrastructure  
**Category:** Monitoring & Observability  
**Also known as:** ELK Stack, Elastic Stack, Elasticsearch, Logstash and Kibana, Kibana

## Think of it like

Think of it like a library. One part brings books in, one part stores and finds them, and one is the reading room.

## Definition

The ELK Stack is a set of tools for collecting, searching and viewing logs. The letters stand for Elasticsearch, Logstash and Kibana. Logstash, or a lighter agent, gathers and shapes the log lines. Elasticsearch stores them and finds matches fast. Kibana is the screen where people search and build charts. Its maker now calls it the Elastic Stack.

## Example

Lucy's team sends logs from 40 servers into one store. In Kibana, she searches for one order number and sees every line that names it.

## Why it matters

It is one of the most common ways to build log aggregation yourself. Many hosted log tools work the same way.

## Common mistake

Running it with too little memory. Elasticsearch needs plenty, and a small server slows down or stops as the logs grow.

## Three principles

- **Three parts.** Collect, store and search, then view.
- **Fast search.** Find one line among billions.
- **Now Elastic Stack.** Same tools, newer name.

## Related terms

- [Log Aggregation](https://learn.benibix.com/term/infrastructure/log-aggregation)
- [Logging](https://learn.benibix.com/term/infrastructure/logging)
- [Grafana](https://learn.benibix.com/term/infrastructure/grafana)
- [OpenTelemetry (OTel)](https://learn.benibix.com/term/infrastructure/opentelemetry)
- [Observability](https://learn.benibix.com/term/infrastructure/observability)

![An app box on the left with instrumentation code inside. Logs, metrics and traces flow right to a collector, then into stores: a log store searched in one place and a metrics store read by Prometheus through an exporter page. Dashboards and alerts sit at the far right.](https://learn.benibix.com/diagrams/inf4-telemetry-pipeline.svg)

---

Source: https://learn.benibix.com/term/infrastructure/elk-stack
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
