Skip to content

Commit 141728e

Browse files
committed
Address comments from review
1 parent cf2ec85 commit 141728e

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

manage-data/data-store/data-streams/query-downsampled-data.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,12 @@ Date histograms are based on UTC values. Some time zone situations require offse
2525

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

28-
For more details, refer to [Date histogram aggregation: Time zone](elasticsearch://reference/aggregations/search-aggregations-bucket-datehistogram-aggregation.md#datehistogram-aggregation-time-zone).
28+
For more details, refer to [Date histogram aggregation: Time zone](elasticsearch://reference/aggregations/search-aggregations-bucket-datehistogram-aggregation.md#datehistogram-aggregation-time-zone).
29+
30+
## {{esql}} `TS` command
31+
```{applies_to}
32+
stack: preview
33+
serverless: preview
34+
```
35+
36+
You can use the {{esql}} [`TS` command](elasticsearch://reference/query-languages/esql/commands/ts.md) (in technical preview) 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.

manage-data/data-store/data-streams/time-series-data-stream-tsds.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ You can also simplify dimension definitions by using [pass-through](elasticsearc
6969

7070
Metrics are numeric measurements that change over time. Documents in a TSDS typically contain one or more metric fields.
7171

72-
:::{tip}
73-
Metrics are expected to change (even if rarely or slowly), while dimensions generally remain constant.
74-
:::
75-
7672
To mark a field as a metric, use the `time_series_metric` mapping parameter. This parameter ensures data is stored in an optimal way for time series analysis. The following field types support the `time_series_metric` parameter:
7773

7874
* All [numeric field types](elasticsearch://reference/elasticsearch/mapping-reference/number.md)
@@ -88,7 +84,7 @@ The valid values for `time_series_metric` are `counter` and `gauge`:
8884

8985
#### `_tsid` metadata field [tsid]
9086

91-
The `_tsid` is an automatically generated object containing the document’s dimensions. It's intended for internal {{es}} use, so in most cases you won't need to work with it. The format of the `_tsid` field is subject to change.
87+
The `_tsid` is an automatically generated object derived from the document’s dimensions. It's intended for internal {{es}} use, so in most cases you won't need to work with it. The format of the `_tsid` field is subject to change.
9288

9389
### Differences from a regular data stream [differences-from-regular-data-stream]
9490

0 commit comments

Comments
 (0)