-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Change Proposal] Add support for explicitly defining dynamic_templates #171
Comments
++ on adding support for this. @exekias Do we already have packages where this could become useful? |
Yes! Thanks for opening @axw, the obvious one will be Prometheus, where we can use this to get rid of the suffixes to match types. @ChrsMark FYI. I'm +1 to getting this as explained, as it matches what we have in Beats after elastic/beats#25422 |
Seems we have consensus so I've removed the discuss label, created implementation issues, and added checkboxes. |
cc @jen-huang for visibility. |
I'm going to close this and revert the change to package-spec. It occurred to me that we an define the dynamic templates directly in the data stream manifest. See elastic/kibana#102289 (comment) |
In elastic/beats#25422 we are extending
fields.yml
in libbeat to support explicitly defining dynamic_templates, for use with thedynamic_templates
bulk request parameter introduced in Elasticsearch 7.13.0: elastic/elasticsearch#69948. The purpose of this is to support dynamically mapping complex metrics, such as histograms and summaries. Naturally we would like to support this in integration packages too.The above mentioned Beats PR introduces a new boolean "dynamic_template" property to fields in
fields.yml
. If this property is true, then the field represents a dynamic template rather than a concrete field. For example:This will result in an entry in the
dynamic_templates
section of the index template like this:Tasks:
dynamic_template
field property, creating dynamic templates ([Fleet] add support for thedynamic_template
field property kibana#102289)dynamic_template
to the field schema in package-spec (Add dynamic_template to field properties #187)The text was updated successfully, but these errors were encountered: