gh123man / go-vrl

Experimental go bindings for Vector Remap Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VRL Running inside WASM does not have the correct clock

scottopell opened this issue · comments

Have not investigated, but running the v10 example project yields the following output:

{ "message": "Hello VRL", "status": "success", "timestamp": t'2022-01-01T00:00:00Z' }

That timestamp field is populated from a call to now which is obviously wrong.

I suspect we'll need to track down which calls VRL is making to get the time and see if how wazero/wasi implements that call.