Reduce transform cannot handle keys with spaces #21983
Labels
meta: regression
This issue represents a regression
transform: reduce
Anything `reduce` transform related
type: bug
A code related bug.
Milestone
A note for the community
Problem
If a log comes in with an (unquoted) key with a space, it will result in an error. With the below config:
Input:
Console output:
This does not happen if the key comes in quoted. It is worth noting that logs that come in with quoted keys have those keys unquoted. I'm not sure if this is an intended consequence of #21201, but I don't believe this behaviour is documented. Regardless, this does "fix" the space issue. With the below config:
Input:
Output:
Note that the output
a b
key is not quoted.Configuration
Version
0.43.0
Debug Output
No response
Example Data
No response
Additional Context
No response
References
reduce
transform is not handling nested keys with dashes #21165The text was updated successfully, but these errors were encountered: