Dedicated dynamic path query syntax in VRL #67
Labels
type: feature
A value-adding code addition that introduce new functionality.
vrl: compiler
Changes to the compiler
vrl: parser
Changes to the syntax parser
This issue got spun out from this comment.
Dynamic field access in VRL is currently supported through the
get
function.We want to remove this function in favour of dedicated syntax to achieve the same result.
Specifically, we would like to allow this:
That is, we'll use string-templating (see vectordotdev/vector#8467) to allow dynamic fields, and allow variables (that must resolve to a number) inside
[...]
for array indexing.The text was updated successfully, but these errors were encountered: