-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to parse timestamp of type millisecond since unix epoch #117
Comments
I dug into this a little and couldn't find a format specifier that would work for unix milliseconds in the time parsing library we use, chrono. I opened: chronotope/chrono#560 |
Would the solution proposed in the chrono issue also work for parsing unix microseconds like |
@yalinglee yes, it looks like it would work for millisecond, microsecond, and nanosecond timestamps. |
@jszwedko That's great to hear! Any chance this might be addressed in the near future? We'd love to try out vector but this is currently a blocker. |
Unfortunately we are blocked on As a workaround, you can use arithmetic to convert the timestamp to a float timestamp which Vector will interpret as seconds (with fractional seconds):
Does that make sense? |
@jszwedko Thank you so much for getting the ball rolling on this, and yes the workaround should work in the meantime! |
Vector Version
Vector Configuration File
Debug Output
N/A
Expected Behavior
The first parse_timestamp command should have been able to parse the timestamp.
Actual Behavior
It didn't parse the timestamp.
The text was updated successfully, but these errors were encountered: