Skip to content

Commit

Permalink
Improve docs around trim_chars
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansr committed Jul 6, 2020
1 parent 8fddde1 commit 3eda354
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libbeat/processors/dissect/docs/dissect.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ to remove leading and/or trailing spaces. Possible values are:
- `all`: values are trimmed for leading and trailing.

`trim_chars`:: (Optional) Set of characters to trim from values, when trimming
is enabled. The default is to trim the space character (`" "`).
is enabled. The default is to trim the space character (`" "`). To trim multiple
characters, simply set it to a string containing all characters to trim. For example,
`trim_chars: " \t"` will trim spaces and/or tabs.

For tokenization to be successful, all keys must be found and extracted, if one of them cannot be
found an error will be logged and no modification is done on the original event.
Expand Down

0 comments on commit 3eda354

Please sign in to comment.