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:
- Events are represented as Lua tables with proper type conversion.
- Introduction of hooks to maintain global state.
- Introduction of timers to facilitate timed flushing. Useful for aggregations.
- 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.
And for the curious: