'Vector VRL Unit testing returning undefined fuction for strlen
https://vector.dev/docs/reference/vrl/functions/#strlen Hello everyone I have a transform containing this field and everything is working well and logs are good :
.msg = slice(.message, start: int!(strlen(join!(arrayvar, separator: " "))) , end: int!(strlen(.message))) ?? "undefined"
BUT unit testing return undefined function did you mean "string"? on strlen function.
Anyone has an idea please?
Solution 1:[1]
Which version of Vector are you running? That function was added in v0.21.0.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | j.szwedko |
