Replies: 2 comments 2 replies
-
Hi @arve0 ! You can see the list of "automatic" timestamp formats here: vector/lib/vrl/core/src/conversion.rs Lines 230 to 254 in ad3b913 It looks like timestamps with fractional seconds but missing a timezone is not one of them. I think it would be reasonable to add though, if you wanted to open a PR, given we do support it for timestamps without fractional seconds and without a timezone. Alternatively you can use
Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Thanks What about the missing time zone adjustment +01:00? Am I using the config parameter wrong? That is the format
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I cannot seem to get
to_timestamp
to honor global optiontimezone
. Am I holding it wrong, or is this a bug?Documentation says:
Simple reproduction:
Run:
docker run -ti --rm -v $(pwd):/etc/vector timberio/vector:0.28.1-debian
Output zulu timestamp is OK:
Same timestamp with local time and milliseconds fails, reported as feature request 10. january:
Same timestamp works with
+01:00
:Removing split seconds makes it parse, but time is wrong. Here I expected
2023-03-21T13:52:21Z
, not2023-03-21T14:52:21Z
:Beta Was this translation helpful? Give feedback.
All reactions