-
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
59529aa
rfc 0017 stage 1
406ef2a
Update 0017-remove-log-original.md
djptek 8316937
Update 0017-remove-log-original.md
djptek a4329b5
modified to field defintiion files to solely reflect the delta
8a42975
clarified scope of impact
a241fb3
Update rfcs/text/0017-remove-log-original.md
djptek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
- name: event | ||
- name: original | ||
description: > | ||
Raw text message of entire event. Used to demonstrate log integrity | ||
or where the full log message (before splitting it up in multiple | ||
parts) may be required, e.g. for reindex. | ||
|
||
This field is not indexed and doc_values are disabled. It cannot be | ||
searched, but it can be retrieved from `_source`. If users wish to | ||
override this and index this field, please see `Field data types` | ||
in the `Elasticsearch Reference`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
- name: log | ||
- name: original | ||
short: Deprecated Original log message with light interpretation only (encoding, newlines). | ||
description: > | ||
Deprecated for Removal in next major version release. This field is superceeded by | ||
`event.original` | ||
|
||
This is the original log message and contains the full log message | ||
before splitting it up in multiple parts. | ||
|
||
In contrast to the `message` field which can contain an extracted part | ||
of the log message, this field contains the original, full log message. | ||
It can have already some modifications applied like encoding or new | ||
lines removed to clean up the log message. | ||
|
||
This field is not indexed and doc_values are disabled so it can't be | ||
queried but the value can be retrieved from `_source`. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
--include
flag to test out the field changesThe 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 fordeprecated
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