Skip to content

to_unix_timestamp, get error "invalid timestamp format: input contains invalid characters" #10634

Answered by spencergilbert
StefanSa asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @StefanSa I think you just need to remove the t'...' from that last line. That's instructing VRL to treat the contents as a literal timestamp, you just want the value at that path so just doing to_unix_timestamp(.event.start, unit: "milliseconds") should work for you.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by StefanSa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants