You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
Notice how a carries forward the empty spaces. It actually has nothing to do with the right padding modifier -> , and the same result is achieved without it:
For %{a->}: example, it is surprising that the -> does not skip the whitespace.
I propose that the dissect spec should require implementations to right trim any whitespace (space, new line, and tabs) for keys that define the -> modifier.
Perhaps this is an implementation detail of the ingest node processor.. but there is a deceptive use case w/r/t to the right padding modifier.
This is documented and works as expected:
However, this unexpected:
Notice how a carries forward the empty spaces. It actually has nothing to do with the right padding modifier
->
, and the same result is achieved without it:For
%{a->}:
example, it is surprising that the->
does not skip the whitespace.I propose that the dissect spec should require implementations to right trim any whitespace (space, new line, and tabs) for keys that define the
->
modifier.thoughts?
cc: @felixbarny @ph @guyboertje
The text was updated successfully, but these errors were encountered: