Skip to content
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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

stefankutko
Copy link

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.

@elasticsearch-release
Copy link

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'.

@stefankutko
Copy link
Author

Hi any update on this? We signed the agreement.

@JuanCarniglia
Copy link

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?

@wraithm
Copy link

wraithm commented Oct 11, 2016

What's the story with this PR? This change would be super useful for me.

@wraithm
Copy link

wraithm commented Oct 11, 2016

Pinging @ph, @suyograo

@suyograo
Copy link
Contributor

@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

@mateodelnorte
Copy link

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.

@wraithm
Copy link

wraithm commented Oct 12, 2016

@suyograo, I've run this code on my logstash, it works well.

@suyograo
Copy link
Contributor

@mateodelnorte thanks for completing the CLA. Unfortunately, the original commits were done using @electronifie.com email address, and the CLA was signed using @gmail address. Would you be able to update the commit with your current email? Alternatively, you could sign the CLA with @electronifie.com address. Thanks for your patience and contributing to Logstash

@suyograo
Copy link
Contributor

@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.

@mateodelnorte
Copy link

Just out of curiosity, why does the license not cover this? What additional benefit are you getting from this contract signing process?

@jordansissel
Copy link
Contributor

@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)

@mateodelnorte
Copy link

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.

@wraithm
Copy link

wraithm commented Oct 19, 2016

@mateodelnorte, completely agreed. Thank you.

@suyograo, how can this be moved forward?

@suyograo suyograo closed this Oct 19, 2016
@suyograo suyograo reopened this Oct 19, 2016
@mateodelnorte
Copy link

mateodelnorte commented Dec 24, 2018

Any intention to merge this? It's quite old at this point. Externally hosted contacts have been signed.

@jblesener
Copy link

@suyograo How can we move this PR forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants