Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions manage-data/data-store/data-streams/advanced-topics-tsds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
navigation_title: "Advanced topics"
applies_to:
stack: ga
serverless: ga
products:
- id: elasticsearch
---

# Advanced topics for working with time series data streams

This section contains information about advanced concepts and operations for [time series data streams](/manage-data/data-store/data-streams/time-series-data-stream-tsds.md):

- [](/manage-data/data-store/data-streams/time-bound-tsds.md)
- [](/manage-data/data-store/data-streams/reindex-tsds.md)
- [](/manage-data/data-store/data-streams/tsds-ingest-otlp.md)
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ applies_to:
products:
- id: elasticsearch
---
% TODO flesh out after the rest of the section has been restructured

# Downsampling a time series data stream [downsampling]

Expand Down
12 changes: 10 additions & 2 deletions manage-data/data-store/data-streams/query-downsampled-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
applies_to:
stack: ga
serverless: ga
navigation_title: "Query downsampled data"
navigation_title: "Querying"
products:
- id: elasticsearch
---
Expand All @@ -25,4 +25,12 @@

When offsetting is applied, responses include the field `downsampled_results_offset: true`.

For more details, refer to [Date histogram aggregation: Time zone](elasticsearch://reference/aggregations/search-aggregations-bucket-datehistogram-aggregation.md#datehistogram-aggregation-time-zone).
For more details, refer to [Date histogram aggregation: Time zone](elasticsearch://reference/aggregations/search-aggregations-bucket-datehistogram-aggregation.md#datehistogram-aggregation-time-zone).

## {{esql}} `TS` command
```{applies_to}

Check notice on line 31 in manage-data/data-store/data-streams/query-downsampled-data.md

View workflow job for this annotation

GitHub Actions / preview / build

The 'planned' lifecycle is deprecated and will be removed in a future release.
stack: planned
serverless: preview
```

You can use the {{esql}} [`TS` command](elasticsearch://reference/query-languages/esql/commands/ts.md) to query time series data streams. The `TS` command is optimized for time series data. It also enables the use of aggregation functions that efficiently process metrics per time series, before aggregating results.
8 changes: 6 additions & 2 deletions manage-data/data-store/data-streams/quickstart-tsds.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ The response shows five sample weather data documents.
:::

:::{tip}
If you get an error about timestamp values, check the error response for the valid timestamp range. For more details, refer to [](/manage-data/data-store/data-streams/time-series-data-stream-tsds.md#tsds-accepted-time-range).
If you get an error about timestamp values, check the error response for the valid timestamp range. For more details, refer to [Accepted time range for adding data](/manage-data/data-store/data-streams/time-bound-tsds.md#tsds-accepted-time-range).

:::

Expand Down Expand Up @@ -316,8 +316,12 @@ This quickstart introduced the basics of time series data streams. To learn more
* [](/manage-data/data-store/data-streams/time-series-data-stream-tsds.md)
* [](/manage-data/data-store/data-streams/set-up-tsds.md)

If you're working with OpenTelemetry (OTLP) data, refer to the OTLP documentation:
* [](/manage-data/data-store/data-streams/tsds-ingest-otlp.md)
* [](/solutions/observability/get-started/opentelemetry/quickstart/index.md)

For more information about the APIs used in this quickstart, review the {{es}} API reference documentation:

* [Bulk API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-bulk)
* [Index template API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-index-template)
* [Search API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search)
* [Search API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search)
Loading
Loading