Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (`min`, `max`, `sum`, `value_count` and `avg`) for each metric field grouped by a configured time interval Technical preview
Path parameters
-
Name of the time series index to downsample.
-
Name of the index to create.
Body Required
-
A date histogram interval. Similar to
Duration
with additional units:w
(week),M
(month),q
(quarter) andy
(year)
POST /{index}/_downsample/{target_index}
curl \
-X POST http://api.example.com/{index}/_downsample/{target_index} \
-H "Content-Type: application/json" \
-d '{"fixed_interval":"string"}'
Request examples
{
"fixed_interval": "string"
}
Response examples (200)
{}