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 #25080 to 7.x: New option in filestream: include_files && check after symlink is resolved #25244

Merged
merged 1 commit into from
Apr 23, 2021

Commits on Apr 22, 2021

  1. New option in filestream: include_files && check after symlink is…

    … resolved (elastic#25080)
    
    ## What does this PR do?
    
    This PR adds support for a new feature in `filestream` input named `include_files`. This option is the counterpart of `exclude_files`. It expects a list of regexes and it only includes files that match the regexes.
    
    The PR also adds one more check after symlinks are resolved, the original file is tested again with the regexes in `include_files` and `exclude_files`.
    
    ## Why is it important?
    
    `exclude_files` was not enough for disallowing files.
    
    (cherry picked from commit dfb98b2)
    kvch committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    af34457 View commit details
    Browse the repository at this point in the history