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, 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.
Let’s start by defining data streams and explaining why they were introduced.

Why Do We Need Data Streams?