Lua Transform v2

The next iteration of our Lua transform.

v2 of our lua transform has been released! This is a complete overhaul that provides a new and improved API, better data processing ergonomics, and faster processing. Specific improvements include:

  1. Events are represented as Lua tables with proper type conversion.
  2. Introduction of hooks to maintain global state.
  3. Introduction of timers to facilitate timed flushing. Useful for aggregations.
  4. The ability to accept and work with metric events in addition to log events.

This raises the bar in terms of capabilities, which is important! Lua is often used as an escape hatch when Vector’s native transforms are not expressive enough.

Did you know we’re also working on a WASM integration 👀

Get Started

And for the curious, check out Vector’s Lua RFC.