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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Use Cases
The proposed feature would allow users to break down Vector remaps into smaller, more manageable units of configuration. This would enable:
Improved organization of VRL code
Easier sharing of VRL snippets across components
Better testability of individual remap sections
Simplified maintenance of complex transformations
Attempted Solutions
Currently, users can only specify a single file for the remap transform using the file property. To achieve similar functionality, users might:
Create multiple remap components, which can be cumbersome and less efficient.
Use external tools like jsonnet to combine multiple VRL files, adding complexity to the configuration process.
However, these solutions do not provide the seamless experience that a native files property would offer.
Proposal
Add a new files property to the remap transform that accepts an array of file paths. When files is provided (and file or source are not), Vector would concatenate the contents of the specified VRL files with a newline separator.
This feature would allow users to organize their VRL code into smaller, more manageable files while still benefiting from the efficiency of a single remap transform.
References
No directly related issues found. This feature request is based on user needs for improved VRL management and configuration flexibility.
A note for the community
Use Cases
The proposed feature would allow users to break down Vector remaps into smaller, more manageable units of configuration. This would enable:
Attempted Solutions
Currently, users can only specify a single file for the
remap
transform using thefile
property. To achieve similar functionality, users might:remap
components, which can be cumbersome and less efficient.However, these solutions do not provide the seamless experience that a native
files
property would offer.Proposal
Add a new
files
property to theremap
transform that accepts an array of file paths. Whenfiles
is provided (andfile
orsource
are not), Vector would concatenate the contents of the specified VRL files with a newline separator.Example configuration:
This would be equivalent to:
This feature would allow users to organize their VRL code into smaller, more manageable files while still benefiting from the efficiency of a single
remap
transform.References
No directly related issues found. This feature request is based on user needs for improved VRL management and configuration flexibility.
Version
0.41.0
The text was updated successfully, but these errors were encountered: