Skip to content
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

[7.x](backport #25422) libbeat: support explicit dynamic templates #25570

Merged
merged 1 commit into from
May 6, 2021

Commits on May 6, 2021

  1. libbeat: support explicit dynamic templates (#25422)

    * libbeat: support explicit dynamic templates
    
    Add the field `DynamicTemplate bool` to `mapping.Field`,
    indicating that the field represents an explicitly named
    dynamic template. Update Elasticsearch template generation
    to create dynamic templates from these fields when the
    target Elasticsearch is 7.13.0+, when support for these
    dynamic templates was added and the requirement of match
    criteria was dropped.
    
    Such dynamic templates are suitable only for use in
    dynamic_templates bulk request parameters and in ingest
    pipelines; they will have no path or type matching criteria.
    
    * Update changelog
    
    * Revert signature change
    
    * Disallow dynamic_template with object_type_params
    
    * Add a constant for min version
    
    * libbeat/mapping: fix field validation
    
    (cherry picked from commit 7a49ca1)
    axw authored and mergify-bot committed May 6, 2021
    Configuration menu
    Copy the full SHA
    889a800 View commit details
    Browse the repository at this point in the history