-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Improve timestamp handling #1889
Conversation
This is the default @timestamp format used by kibana json log for example
…nsson/beats into improve-timestamp-handling
1 similar comment
08395d1
to
9acc1d3
Compare
Allow timestamps without timezone. See elastic#1831 for more details
9acc1d3
to
46ae5fa
Compare
Before merging this, we need @morganchristiansson to sign the CLA as I directly took his commit. |
LGTM, but still needs CLA |
@andrewkroh, @ruflin, note this is a bug in the CLA checker, which should have pinged Morgan specifically, because only his commit is not signed. I'll have a look into that. |
Apologies about not signing the CLA. I wasn't sure whether it was needed for just the 2 test cases. My company is very reasonable about this I should have it ready by COB today. Thank you! |
@morganchristiansson Nice, thanks a lot. Can you quickly ping me here as soon as it is signed so I can manually check and merge it then? |
CLAs have been signed by both CTO and myself. @ruflin |
@morganchristiansson Looks good. Do you mind if I add the |
Yeah go ahead. Thank you. |
@morganchristiansson Done. So future commits will be automatically recognized by the CLA checker. With merging this PR I think we resolved the most pressing issues in #1831 Feel free to open a new issue in case you think further changes to the timestamp handling are needed. |
Thanks. Will have a look. |
@ruflin I'm late to the party here, but we could have also modified the ParseTime functions to accept RFC3339, I think, because it would have been backwards compatible because RFC3339 is a super-set of what we had before. I have a feeling that not using RFC3339 as our default everywhere is going to cause other issues like this one in other parts of the code. |
@tsg That's the first thing I did but it broke quite a few things like the logging output changed a little bit or at least some tests broke. So to not bloat up the PR I only implemented the change there. But in general +1 on change it on a global level. |
Thanks @ruflin, sounds good. |
@tsg Should we open an issue to implement it on a general level? |
No description provided.