|
@@ -1,4 +1,14 @@
|
|
|
[[downsampling]]
|
|
|
+
|
|
|
+/////
|
|
|
+[source,console]
|
|
|
+--------------------------------------------------
|
|
|
+DELETE _ilm/policy/my_policy
|
|
|
+--------------------------------------------------
|
|
|
+// TEST
|
|
|
+// TEARDOWN
|
|
|
+/////
|
|
|
+
|
|
|
=== Downsampling a time series data stream
|
|
|
|
|
|
Downsampling provides a method to reduce the footprint of your <<tsds,time
|
|
@@ -120,8 +130,8 @@ There are a few things to note when querying downsampled indices:
|
|
|
* When you run queries in {kib} and through Elastic solutions, a normal
|
|
|
response is returned without notification that some of the queried indices are
|
|
|
downsampled.
|
|
|
-* For
|
|
|
-<<search-aggregations-bucket-datehistogram-aggregation,date histogram aggregations>>,
|
|
|
+* For
|
|
|
+<<search-aggregations-bucket-datehistogram-aggregation,date histogram aggregations>>,
|
|
|
only `fixed_intervals` (and not calendar-aware intervals) are supported.
|
|
|
* Only Coordinated Universal Time (UTC) date-times are supported.
|
|
|
|
|
@@ -131,13 +141,13 @@ only `fixed_intervals` (and not calendar-aware intervals) are supported.
|
|
|
|
|
|
The following restrictions and limitations apply for downsampling:
|
|
|
|
|
|
-* Only indices in a <<tsds,time series data stream>> are supported.
|
|
|
+* Only indices in a <<tsds,time series data stream>> are supported.
|
|
|
|
|
|
* Data is downsampled based on the time dimension only. All other dimensions are
|
|
|
copied to the new index without any modification.
|
|
|
|
|
|
* Within a data stream, a downsampled index replaces the original index and the
|
|
|
-original index is deleted. Only one index can exist for a given time period.
|
|
|
+original index is deleted. Only one index can exist for a given time period.
|
|
|
|
|
|
* A source index must be in read-only mode for the downsampling process to
|
|
|
succeed. Check the <<downsampling-manual,Run downsampling manually>> example for
|