-
This is not an issue per se, but https://vector.dev/docs/reference/configuration/transforms/lua/ has a warning banner encouraging me to tell you if any Lua use cases are not covered by the VRL remap transform. We are doing something like this, to run arbitrary system commands only once per log file to enrich log metadata with the owner of the log file, and the process writing to the log file. We plan to extend this further to get more specific metadata related to our environment with additional commands.
If I could run arbitrary system commands and store a global cache state using VRL, I would happily switch to that. I don't need any immediate assistance here, but I would just say please don't deprecate the Lua transform without allowing this kind of thing in VRL. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @hunsbea,
Thank you for sharing this with us. Vector now offers a memory enrichment table which can be used a cache. But I don't think you run arbitrary commands in VRL for various reasons: https://github.com/vectordotdev/vrl/blob/main/DESIGN.md#performance-warning
Rest assured, we will not deprecate the Lua transform. The warning is there to encourage folks to consider using Remap if possible. |
Beta Was this translation helpful? Give feedback.
Hi @hunsbea,
Thank you for sharing this with us. Vector now offers a memory enrichment table which can be used a cache. But I don't think you run arbitrary commands in VRL for various reasons: https://github.com/vectordotdev/vrl/blob/main/DESIGN.md#performance-warning
Rest assured, we will not deprecate the Lua transform. The warning is there to encourage folks to consider using Remap if possible.