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 #19464 to 7.x: Dissect: Support trimming captured values and other configuration options #19685

Merged
merged 1 commit into from
Jul 13, 2020

Commits on Jul 6, 2020

  1. Dissect: Support trimming captured values and other configuration opt…

    …ions (elastic#19464)
    
    This adds 4 new configuration parameters for the dissect processor:
    
    - ignore_failure, so that it doesn't return an error when the tokenizer doesn't match the input. This is useful for chaining multiple processors together.
    - overwrite_keys, so that existing keys are overwritten if they already exist.
    - trim_values, to enable trimming blank space (left,(leading) right(trailing) or all) in captured values.
    - trim_chars is the set of characters that are trimmed by the above option (default is the ascii space character).
    
    The default values for these new flags have been chosen so that the default behavior of the processor is unchanged.
    
    (cherry picked from commit a57e390)
    adriansr committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    b807ab9 View commit details
    Browse the repository at this point in the history