
Elastic Stack 8.x Cookbook
By :

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.
To perform downsampling on your time series data, you need to do the following:
metrics-rennes_traffic-default
TSDSWe 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.