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

Cherry-pick #22682 to 7.x: Fix index template loading when the new index is selected #22741

Merged
merged 1 commit into from
Nov 25, 2020

Commits on Nov 24, 2020

  1. Fix index template loading when the new index is selected (elastic#22682

    )
    
    ## What does this PR do?
    
    This PR fixes the `setup.template.type` setting. When `index` were selected, Beats based the generated index on the legacy format, not on the component. This prevented Beats from loading the index.
    
    ## Why is it important?
    
    `setup.template.type=index` was broken. Now it is fixed.
    
    ## How to test this PR locally
    
    ```
    ./filebeat setup --index-management -E setup.template.type=index
    ```
    
    ## Related issues
    
    Closes elastic#22482
    
    (cherry picked from commit 569268d)
    kvch committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    fbb7fb6 View commit details
    Browse the repository at this point in the history