Skip to content

Commit ec2bdee

Browse files
Add time_series_dimensions param to flattened docs (#95374)
1 parent 1c609ac commit ec2bdee

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/reference/data-streams/tsds.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ parameter:
102102
* <<number,`long`>>
103103
* <<number,`unsigned_long`>>
104104

105+
For a flattened field, use the `time_series_dimensions` parameter to configure an array of fields as dimensions. For details refer to <<flattened-params,`flattened`>>.
106+
105107
[[dimension-limits]]
106108
.Dimension limits
107109
****

docs/reference/mapping/types/flattened.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,12 @@ The following mapping parameters are accepted:
308308
whitespace when building a query for this field. Accepts `true` or `false`
309309
(default).
310310

311+
`time_series_dimensions`::
312+
(Optional, array of strings) A list of fields inside the flattened object, where each field is a dimension
313+
of the time series. Each field is specified using the relative path from the
314+
root field and does not include the root field name.
315+
316+
311317
[[flattened-synthetic-source]]
312318
==== Synthetic `_source`
313319

0 commit comments

Comments
 (0)