|
@@ -170,26 +170,45 @@ The following parameters are accepted by numeric types:
|
|
|
the <<mapping-source-field,`_source`>> field. Accepts `true` or `false`
|
|
|
(default).
|
|
|
|
|
|
-include::keyword.asciidoc[tag=dimension]
|
|
|
+`time_series_dimension`::
|
|
|
+
|
|
|
+--
|
|
|
+experimental:[]
|
|
|
+(Optional, Boolean)
|
|
|
+
|
|
|
+.For internal use by Elastic only.
|
|
|
+[%collapsible]
|
|
|
+====
|
|
|
+include::keyword.asciidoc[tag=dimension]
|
|
|
+
|
|
|
Of the numeric field types, only `byte`, `short`, `integer`, `long`, and
|
|
|
`unsigned_long` fields support this parameter.
|
|
|
-+
|
|
|
+
|
|
|
A numeric field can't be both a time series dimension and a time series metric.
|
|
|
+====
|
|
|
+--
|
|
|
|
|
|
-// tag::time_series_metric[]
|
|
|
`time_series_metric`::
|
|
|
++
|
|
|
+--
|
|
|
experimental:[]
|
|
|
-(Optional, string) For internal use by Elastic only. Marks the field as a time
|
|
|
-series metric. The value is the metric type. Defaults to `null` (Not a time
|
|
|
-series metric).
|
|
|
+(Optional, string)
|
|
|
+
|
|
|
+.For internal use by Elastic only.
|
|
|
+[%collapsible]
|
|
|
+====
|
|
|
+// tag::time_series_metric[]
|
|
|
+Marks the field as a time series metric. The value is the metric type. Defaults
|
|
|
+to `null` (Not a time series metric).
|
|
|
// end::time_series_metric[]
|
|
|
-+
|
|
|
+
|
|
|
For numeric fields, this parameter accepts `gauge` and `counter`. You can't
|
|
|
update this parameter for existing fields.
|
|
|
-+
|
|
|
+
|
|
|
For a numeric time series metric, the `doc_values` parameter must be `true`. A
|
|
|
numeric field can't be both a time series dimension and a time series metric.
|
|
|
+====
|
|
|
+--
|
|
|
|
|
|
[[scaled-float-params]]
|
|
|
==== Parameters for `scaled_float`
|