[DOCS] Document time_series_metric mapping parameter#78013
[DOCS] Document time_series_metric mapping parameter#78013jrodewig merged 13 commits intoelastic:masterfrom jrodewig:docs__time_series_metric
time_series_metric mapping parameter#78013Conversation
Documents the `time_series_metric` mapping parameter added with PR #76766.
|
Pinging @elastic/es-docs (Team:Docs) |
|
Pinging @elastic/es-analytics-geo (Team:Analytics) |
|
Pinging @elastic/es-search (Team:Search) |
|
@elasticmachine update branch |
| For numeric fields, this parameter accepts `gauge` and `counter`. You can't | ||
| update this parameter for existing fields. | ||
| + | ||
| `scaled_float` and `unsigned_long` fields don't support this parameter. |
There was a problem hiding this comment.
I am not sure where the constraint that scaled_float and unsigned_long fields don't support this parameter comes from. There is no such constraint in the code. Am I missing something here?
There was a problem hiding this comment.
During my testing, I wasn't able to create a scaled_float or unsigned_long field with the parameter. I assumed that was intended, but it may be a bug.
I opened #78100 for the bug report. I'll remove this sentence from the docs.
There was a problem hiding this comment.
Thank you for opening the issue. I will check that asap.
csoulios
left a comment
There was a problem hiding this comment.
Changes look good. I left some more comments.
|
One last thing we should add is that a numeric field cannot be both a dimension and a metric. |
csoulios
left a comment
There was a problem hiding this comment.
LGTM. Thank you for iterating so fast on this!
Documents the
time_series_metricmapping parameter added with PR #76766.Also renames the
dimensionparameter totime_series_dimensionfor PR #78012.Previews
aggregate_metric_double: https://elasticsearch_78013.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/aggregate-metric-double.html#aggregate-metric-double-paramshistogram: https://elasticsearch_78013.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/histogram.html#histogram-paramsNumeric field types: https://elasticsearch_78013.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/number.html#number-params
ip: https://elasticsearch_78013.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/ip.html#ip-paramskeyword: https://elasticsearch_78013.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/keyword.html#keyword-paramsIndex settings: https://elasticsearch_78013.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/index-modules.html#index-mapping-dimension-fields-limit