Downsampling your time series data
Downsampling, introduced in Elastic 8.7, reduces the granularity of your data by utilizing less detailed time series data. This feature offers flexibility in managing historical metrics within your budget and improves visualization performance in Lens, Timelion, or Time Series Visual Builder (TSVB) when dealing with large datasets.
In this recipe, we will configure downsampling for our Rennes traffic TSDS.
Getting ready
To perform downsampling on your time series data, you need to do the following:
- Complete the previous recipe of this chapter, Creating a Logstash pipeline
- Make sure the Rennes traffic data is correctly ingested to the
metrics-rennes_traffic-default
TSDS
How to do it...
We need to configure an index lifecycle policy to control how our data ages and when it transitions between different phases. Let’s locate and adjust the lifecycle policy for the metrics-rennes_traffic-default
data stream.
-
...