-
Notifications
You must be signed in to change notification settings - Fork 35
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
Allow option to customize timestamp fields #21
base: main
Are you sure you want to change the base?
Conversation
…ord, instead of relying on timestamp created when log is processed.
Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then say 'jenkins, test it'. |
Hi any update on this? We signed the agreement. |
I did this same modification (without checking first if there was a PR related, my bad). I used logstash/timestamp and the method "coerce" instead of directly Time. Do you think it is better? Worse? Are you not having trouble with timezones and such, by using Datetime.parse? |
What's the story with this PR? This change would be super useful for me. |
@mateodelnorte needs to sign the CLA since the original commits merged here are from him. See step 2 of https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md#contribution-steps |
Done. REALLY not a fan of having to complete a company-created contract in order to contribute to open source software. Your license should cover this. |
@suyograo, I've run this code on my logstash, it works well. |
@mateodelnorte thanks for completing the CLA. Unfortunately, the original commits were done using |
@wraithm Thanks for validating this patch, but we will not be able to move forward until the CLA has been signed and matches the commits included in this patch. |
Just out of curiosity, why does the license not cover this? What additional benefit are you getting from this contract signing process? |
@mateodelnorte is your question not answered by the text on this page? https://www.elastic.co/contributor-agreement (it explains a bit of why we have one, why we need it, etc) |
TL;DR: No, it doesn't - because it doesn't exist in a vacuum. This CLA flow is inherently less trustworthy than using a standard license, and the use of it is confusing because you have both. It would be a better use of the open source community's time to simply create or update standard license that would cover the requirements which aren't covered by those already in use. I've gone ahead and signed the CLA because I took 30 minutes to read over the document and I'm mostly sure it's ok. That said, I'd love to have that time back and simply trust the standard license in the repo. Reasons: Nearly all open source projects use a standard License because 1) people don't have time or resources to have a lawyer read every legal document some company wants to draw up and 2) by using a standard License, people can trust that the contents of that license will not purposefully or unintentionally cause immediate or future harm to their persons or property. The presence of an additional contract makes me ask – Why is this not working like other projects I've contributed to? It holds weight to keep in mind as well that even though there are standard Licenses, understanding the differences between them is so difficult that the largest open source hosting company in the world created a tool to help guide people: http://choosealicense.com/. Developers already have a hefty amount of contract knowledge to keep in mind while doing their jobs. Can you imagine an alternate reality where every company draws up their own license and redirects you to a page where you explicitly sign, instead of implicitly granting consent via participation according to the license file present and viewable as part of the codebase? I understand that Facebook and Google have started using this process. A far better use of everyone's time would be to create or update a standard license which can then be adopted by all. Facebook and Google are juggernauts. Everyone is going to click through their agreements without reading. As soon as every small and medium sized company starts using this process, it will cause friction to open source software development. None of these large open source projects have a non-standard license requiring explicit signature through a flow that causes you to navigate away from the codebase to a company's privately hosted contract: https://github.com/twbs/bootstrap#contributing, https://github.com/rails/rails/blob/master/CONTRIBUTING.md, https://github.com/nodejs/node/blob/master/CONTRIBUTING.md, https://github.com/apple/swift/blob/master/CONTRIBUTING.md. |
@mateodelnorte, completely agreed. Thank you. @suyograo, how can this be moved forward? |
Any intention to merge this? It's quite old at this point. Externally hosted contacts have been signed. |
@suyograo How can we move this PR forward? |
It is a requirement for us to be able to read a timestamp value from a logged message instead of relying on the global "timestamp" that appears in the log. This pull request allows for a custom start/end timestamp and defaults to the current "timestamp" if not provided.