mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
Introduce downsampling configuration for data stream lifecycle (#97041)
This PR introduces downsampling configuration to the data stream lifecycle. Keep in mind downsampling implementation will come in a follow up PR. Configuration looks like this: ``` { "lifecycle": { "data_retention": "90d", "downsampling": [ { "after": "1d", "fixed_interval": "2h" }, { "after": "15d", "fixed_interval": "1d" }, { "after": "30d", "fixed_interval": "1w" } ] } } ``` We will also support using `null` to unset downsampling configuration during template composition: ``` { "lifecycle": { "data_retention": "90d", "downsampling": null } } ```
This commit is contained in:
parent
69ff7dfb20
commit
f87c2c7758
26 changed files with 564 additions and 121 deletions
|
@ -371,6 +371,7 @@ module org.elasticsearch.server {
|
|||
opens org.elasticsearch.common.logging to org.apache.logging.log4j.core;
|
||||
|
||||
exports org.elasticsearch.action.dlm;
|
||||
exports org.elasticsearch.action.downsample;
|
||||
|
||||
provides java.util.spi.CalendarDataProvider with org.elasticsearch.common.time.IsoCalendarDataProvider;
|
||||
provides org.elasticsearch.xcontent.ErrorOnUnknown with org.elasticsearch.common.xcontent.SuggestingErrorOnUnknown;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue