Interview Prep/Monitoring & Observability/Logging: ELK/EFK, Loki & Log Shippers

What is an Elasticsearch data stream?

AdvancedConceptLogging: ELK/EFK, Loki & Log Shippers
Answer

A data stream is an append-only abstraction for time series data like logs: you write to one name (logs-app-prod), and Elasticsearch routes writes to the current hidden backing index (.ds-logs-app-prod-2026.11.09-000042), rolling over by ILM policy. Documents need a @timestamp field and are created with op_type=create.

It replaces the older pattern of alias plus logs-app-YYYY.MM.dd indexes and manual rollover, and plays well with ILM and index templates.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Logging: ELK/EFK, Loki & Log Shippers