March 3, 2025
Using Data Streams for Time Series Data in Elasticsearch and OpenSearch

Using Data Streams for Time Series Data in Elasticsearch and OpenSearch

Elasticsearch Data Streams provide powerful ways to manage time series data and other types of append-only data.

In this blog post, we explain the benefits and limitations of data streams and how to select and set up the correct type of data stream for your needs. Although we focus on Elasticsearch throughout this article, everything here also applies to OpenSearch unless otherwise noted (check our OpenSearch vs Elasticsearch comparison for key differences).
Let’s start by defining data streams and explaining why they were introduced.

Why Do We Need Data Streams?