-
Hi all! Is it possible to perform timestamp math in VRL? If I've got an event that looks like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think part of the problem I'm running into is that the In this example we can see that the timestamp produced from Am I missing a parsing step? |
Beta Was this translation helpful? Give feedback.
Solved!
I had a couple different issues going on.
The first one was that I was running vector v0.42.0 locally, which didn't have support for the timezone parameter in
parse_timestamp()
. It seemed like the VRL library would automatically just detect the timezone of the host when doing calculations, but was inconsistent about that when using a VRL generated timestamp likenow()
.After upgrading to
v.0.44
I've been able to pass in the correct TZ data as a third parameter:https://playgrou…