-
Notifications
You must be signed in to change notification settings - Fork 419
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
[RFC] 0017 Remove log.original stage 1 #1314
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -16,16 +16,18 @@ The removal of `log.original` will be considered a breaking change since the fie | |||
|
|||
| Field Set | Field(s) | | |||
| --------- | -------- | | |||
| [`log`](0000/log.yml) | `log.original` | | |||
| [`event`](0000/event.yml) | `event.original` | | |||
| [`log`](0017/log.yml) | `log.original` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Including field definition files when adding or changing fields has proven useful in a couple of ways:
- The fields can be used either with the
--include
flag to test out the field changes - Sometimes, the proposed field definitions get a little long, especially for brand new fieldsets. Separating the field definitions from the markdown keeps everything a bit tidier.
The way that custom files are merged with the current ECS fields, even if you remove a current ECS field it'll still be present in all the outputs. So it's not a problem to include these field definitions here, but unfortunately, we can't use them with the --include
flag and get the expected result.
I do think we could consider having a consistent way to mark a field as deprecated
in the ECS docs until we're ready to entirely remove the field. Looking at the Elastic docs repo, there is an asciidoc admonition available for deprecated
that we might be able to leverage somehow: https://github.com/elastic/docs#old-section.
We have something similar for the beta
attribute: https://github.com/elastic/ecs/blob/master/scripts/templates/field_details.j2#L13-L18
added URL for Stage 1 PR added @ebeahan as sponsor
correct notes on extended description of `event.original` thanks for spotting @ebeahan
Thanks, @djptek, for the updates! Everything is looking great here. I'm going to list out the criteria for advancing to stage one. The one remaining item is capturing some of the potential implementation challenges and concerns in the proposal doc.
|
Thanks for the comments @ebeahan I've updated as discussed during the call today + applied the changes requested here in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the one nit item, LGTM 👍 !
I'll let you handle merging, @djptek. Before you do, please add a commit setting the Date
at the top of the proposal doc to the date you're merging on. When you push the commit, you'll dismiss the approval ✅ , but feel free to merge without additional approval.
Typically once an RFC has advanced as stage one, another PR is opened to add new fields or changes to the experimental schema. Since the only proposed change here is updating the log.original
field's description, I don't think we worry about adding the experimental schema changes.
I'm also open to discussing more if we think there might be value to including those changes, though.
Co-authored-by: Eric Beahan <[email protected]>
make test
? n/a stage 1make
and committed those changes? n/a stage 1