TLDR Joe asked about the new function system and its Lua support. Prabhat explained VRL, while also confirming Lua support will continue. Recommended VRL for Joe's use case.
Actually new functions are based on VRL -
Oh I see, will lua support be removed in a future update? Should I look at migrating to VRL?
No, Lua support will not be removed.
For most of the users VRL will be a much easier option though
Lua is way more powerful than VRL.
However there are security consideration when running untrusted lua code due to which we are not enabling it by default
We will be writing docs about enabling it and people should enable it only in trusted environments
What are you using functions for?
Currently just using lua string matches to extract info from the "message" and put it in separate fields
VRL is much easier for this use case. Give it a shot.
Nice, I'll try it :slightly_smiling_face:
Thanks for the help
Joe
Sun, 23 Apr 2023 10:53:38 UTCHow does the new function system work? when I paste in my old function which I deleted before the upgrade, it cuts it after saving so that only the last 10 lines are saved